diff --git a/spec/api-desktop-capturer-spec.js b/spec/api-desktop-capturer-spec.js index ead916c7d53..02eda9003b8 100644 --- a/spec/api-desktop-capturer-spec.js +++ b/spec/api-desktop-capturer-spec.js @@ -19,9 +19,9 @@ describe('desktopCapturer', function() { assert.equal(error, null); assert.notEqual(sources.length, 0); if (callCount === 2) done(); - } + }; desktopCapturer.getSources({types: ['window', 'screen']}, callback); desktopCapturer.getSources({types: ['window', 'screen']}, callback); - }) + }); });