adds test, adds view to AtomNSWindow and minor fixes
This commit is contained in:
parent
2cf30c0d63
commit
5e62d28e50
6 changed files with 30 additions and 25 deletions
|
@ -427,6 +427,18 @@ describe('browser-window module', function () {
|
|||
})
|
||||
})
|
||||
|
||||
describe('BrowserWindow.setVibrancy(type)', function () {
|
||||
it('allows setting, changing, and removing the vibrancy', function () {
|
||||
assert.doesNotThrow(function () {
|
||||
w.setVibrancy('light')
|
||||
w.setVibrancy('dark')
|
||||
w.setVibrancy(null)
|
||||
w.setVibrancy('ultra-dark')
|
||||
w.setVibrancy('')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
describe('BrowserWindow.fromId(id)', function () {
|
||||
it('returns the window with id', function () {
|
||||
assert.equal(w.id, BrowserWindow.fromId(w.id).id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue