mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Clear notifications and context menus in AtomEnvironment::reset
This commit is contained in:
@@ -70,7 +70,6 @@ isCoreSpec = false
|
||||
|
||||
{resourcePath} = atom.getLoadSettings()
|
||||
|
||||
|
||||
beforeEach ->
|
||||
documentTitle = null
|
||||
|
||||
@@ -146,8 +145,6 @@ beforeEach ->
|
||||
|
||||
afterEach ->
|
||||
atom.packages.deactivatePackages()
|
||||
atom.contextMenu.clear()
|
||||
atom.notifications.clear()
|
||||
|
||||
atom.workspace?.destroy()
|
||||
atom.workspace = null
|
||||
|
||||
@@ -249,6 +249,10 @@ class AtomEnvironment extends Model
|
||||
|
||||
@clipboard.reset()
|
||||
|
||||
@notifications.clear()
|
||||
|
||||
@contextMenu.clear()
|
||||
|
||||
###
|
||||
Section: Event Subscription
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user