fix styling and add spec
This commit is contained in:
parent
2abc69780e
commit
bf491de9fe
3 changed files with 8 additions and 3 deletions
|
@ -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)', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue