Add failing spec

This commit is contained in:
Kevin Sawicki 2016-02-09 10:18:01 -08:00
parent 4828835998
commit cead84d5d1

View file

@ -658,4 +658,12 @@ describe('browser-window module', function() {
});
});
});
describe('window.webContents.send(channel, args...)', function() {
it('throws an error when the channel is missing', function() {
assert.throws(function () {
w.webContents.send();
}, 'channel must be specified');
});
});
});