spec: BrowserWindow.showInactive()
This commit is contained in:
parent
141894aacd
commit
19c8864c32
1 changed files with 6 additions and 1 deletions
|
@ -57,8 +57,13 @@ describe 'browser-window module', ->
|
||||||
w.loadUrl 'about:blank'
|
w.loadUrl 'about:blank'
|
||||||
|
|
||||||
describe 'BrowserWindow.show()', ->
|
describe 'BrowserWindow.show()', ->
|
||||||
it 'should not focus window', ->
|
it 'should focus on window', ->
|
||||||
w.show()
|
w.show()
|
||||||
|
assert w.isFocused()
|
||||||
|
|
||||||
|
describe 'BrowserWindow.showInactive()', ->
|
||||||
|
it 'should not focus on window', ->
|
||||||
|
w.showInactive()
|
||||||
assert !w.isFocused()
|
assert !w.isFocused()
|
||||||
|
|
||||||
describe 'BrowserWindow.focus()', ->
|
describe 'BrowserWindow.focus()', ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue