spec: update 'BrowserWindow.fromBrowserView(browserView) returns undefined if not attached - returns undefined if not attached' to match docs (null not undefined)
This commit is contained in:
parent
91cc453ccc
commit
5c8c31c93d
2 changed files with 3 additions and 3 deletions
|
@ -1014,7 +1014,7 @@ describe('BrowserWindow module', () => {
|
|||
|
||||
it('returns undefined if not attached', () => {
|
||||
w.setBrowserView(null)
|
||||
assert.strictEqual(BrowserWindow.fromBrowserView(bv), undefined)
|
||||
assert.strictEqual(BrowserWindow.fromBrowserView(bv), null)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
@ -3,5 +3,5 @@ function resolverGetters (...args) {
|
|||
}
|
||||
|
||||
module.exports = {
|
||||
resolverGetters,
|
||||
}
|
||||
resolverGetters
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue