mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Focus specs window before each test to ensure focus assertions pass
This commit is contained in:
@@ -43,6 +43,9 @@ atom.toggleDevTools = ->
|
||||
atom.showDevTools = ->
|
||||
@sendMessageToBrowserProcess('showDevTools')
|
||||
|
||||
atom.focus = ->
|
||||
@sendMessageToBrowserProcess('focus')
|
||||
|
||||
atom.getRootViewStateForPath = (path) ->
|
||||
if json = localStorage[path]
|
||||
JSON.parse(json)
|
||||
|
||||
Reference in New Issue
Block a user