mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-03-28 23:58:52 +08:00
No need to open video when testing webkitGetUserMedia.
The purpose of this test is to test whether the callback can be called.
This commit is contained in:
@@ -2,6 +2,6 @@ describe 'webrtc', ->
|
||||
describe 'navigator.webkitGetUserMedia', ->
|
||||
it 'should call its callbacks', (done) ->
|
||||
@timeout 5000
|
||||
navigator.webkitGetUserMedia audio: true, video: true,
|
||||
navigator.webkitGetUserMedia audio: true, video: false,
|
||||
-> done()
|
||||
-> done()
|
||||
|
||||
Reference in New Issue
Block a user