electron/spec/web/webrtc.coffee
Cheng Zhao 0cd3f3cc40 No need to open video when testing webkitGetUserMedia.
The purpose of this test is to test whether the callback can be called.
2013-08-21 11:41:08 +08:00

7 lines
232 B
CoffeeScript

describe 'webrtc', ->
describe 'navigator.webkitGetUserMedia', ->
it 'should call its callbacks', (done) ->
@timeout 5000
navigator.webkitGetUserMedia audio: true, video: false,
-> done()
-> done()