Add explicit expected value

This commit is contained in:
Kevin Sawicki 2017-06-28 10:21:01 -07:00
parent 0d1cf8af35
commit 9dd27ba3ec

View file

@ -582,10 +582,10 @@ describe('webContents module', function () {
})
})
describe('setIgnoreMenuShortcuts()', function () {
describe('setIgnoreMenuShortcuts(ignore)', function () {
it('does not throw', function () {
assert.equal(w.webContents.setIgnoreMenuShortcuts(true))
assert.equal(w.webContents.setIgnoreMenuShortcuts(false))
assert.equal(w.webContents.setIgnoreMenuShortcuts(true), undefined)
assert.equal(w.webContents.setIgnoreMenuShortcuts(false), undefined)
})
})