Add failing spec
This commit is contained in:
parent
4828835998
commit
cead84d5d1
1 changed files with 8 additions and 0 deletions
|
@ -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');
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue