Add explicit expected value
This commit is contained in:
parent
0d1cf8af35
commit
9dd27ba3ec
1 changed files with 3 additions and 3 deletions
|
@ -582,10 +582,10 @@ describe('webContents module', function () {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('setIgnoreMenuShortcuts()', function () {
|
describe('setIgnoreMenuShortcuts(ignore)', function () {
|
||||||
it('does not throw', function () {
|
it('does not throw', function () {
|
||||||
assert.equal(w.webContents.setIgnoreMenuShortcuts(true))
|
assert.equal(w.webContents.setIgnoreMenuShortcuts(true), undefined)
|
||||||
assert.equal(w.webContents.setIgnoreMenuShortcuts(false))
|
assert.equal(w.webContents.setIgnoreMenuShortcuts(false), undefined)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue