fix styling and add spec

This commit is contained in:
Shelley Vohr 2018-02-28 00:22:42 -08:00
parent 2abc69780e
commit bf491de9fe
No known key found for this signature in database
GPG key ID: F13993A75599653C
3 changed files with 8 additions and 3 deletions

View file

@ -733,6 +733,12 @@ describe('BrowserWindow module', () => {
done()
})
})
it('throws when called on itself', () => {
assert.throws(() => {
w.addTabbedWindow(w)
}, /AddTabbedWindow cannot be called by a window on itself./)
})
})
describe('BrowserWindow.setVibrancy(type)', () => {