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:
Samuel Attard 2018-09-14 16:38:44 +10:00
parent 91cc453ccc
commit 5c8c31c93d
No known key found for this signature in database
GPG key ID: E89DDE5742D58C4E
2 changed files with 3 additions and 3 deletions

View file

@ -1014,7 +1014,7 @@ describe('BrowserWindow module', () => {
it('returns undefined if not attached', () => { it('returns undefined if not attached', () => {
w.setBrowserView(null) w.setBrowserView(null)
assert.strictEqual(BrowserWindow.fromBrowserView(bv), undefined) assert.strictEqual(BrowserWindow.fromBrowserView(bv), null)
}) })
}) })

View file

@ -3,5 +3,5 @@ function resolverGetters (...args) {
} }
module.exports = { module.exports = {
resolverGetters, resolverGetters
} }