mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Move installation of uncaught error handler to startEditorWindow
This commit is contained in:
@@ -61,6 +61,10 @@ describe "the `atom` global", ->
|
||||
beforeEach ->
|
||||
spyOn atom, 'openDevTools'
|
||||
spyOn atom, 'executeJavaScriptInDevTools'
|
||||
atom.installUncaughtErrorHandler()
|
||||
|
||||
afterEach: ->
|
||||
atom.uninstallUncaughtErrorHandler()
|
||||
|
||||
it "will open the dev tools when an error is triggered", ->
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user