Add missing -spec suffix to desktop capturer spec

This commit is contained in:
Kevin Sawicki 2016-01-14 17:03:51 -08:00
parent 2be7f6c693
commit 047975609d

View file

@ -0,0 +1,17 @@
var assert, desktopCapturer;
assert = require('assert');
desktopCapturer = require('electron').desktopCapturer;
describe('desktopCapturer', function() {
return it('should returns something', function(done) {
return desktopCapturer.getSources({
types: ['window', 'screen']
}, function(error, sources) {
assert.equal(error, null);
assert.notEqual(sources.length, 0);
return done();
});
});
});