mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
spec: BrowserWindow.showInactive()
This commit is contained in:
@@ -57,8 +57,13 @@ describe 'browser-window module', ->
|
||||
w.loadUrl 'about:blank'
|
||||
|
||||
describe 'BrowserWindow.show()', ->
|
||||
it 'should not focus window', ->
|
||||
it 'should focus on window', ->
|
||||
w.show()
|
||||
assert w.isFocused()
|
||||
|
||||
describe 'BrowserWindow.showInactive()', ->
|
||||
it 'should not focus on window', ->
|
||||
w.showInactive()
|
||||
assert !w.isFocused()
|
||||
|
||||
describe 'BrowserWindow.focus()', ->
|
||||
|
||||
Reference in New Issue
Block a user