Reset service-hub in AtomEnvironment::reset()

This commit is contained in:
Max Brunsfeld
2015-10-08 16:29:54 -07:00
parent a9c8640ab1
commit 4835fef7be
3 changed files with 3 additions and 2 deletions

View File

@@ -48,7 +48,7 @@
"scrollbar-style": "^3.2",
"season": "^5.3",
"semver": "^4.3.3",
"service-hub": "^0.6.2",
"service-hub": "^0.7.0",
"source-map-support": "^0.3.2",
"stacktrace-parser": "0.1.1",
"temp": "0.8.1",

View File

@@ -74,7 +74,6 @@ beforeEach ->
documentTitle = null
projectPath = path.join(@specDirectory, 'fixtures')
atom.packages.serviceHub = new ServiceHub
atom.project = new Project({notificationManager: atom.notifications, packageManager: atom.packages, config: atom.config, confirm: atom.confirm})
atom.project.setPaths([projectPath])
atom.workspace = new Workspace({

View File

@@ -253,6 +253,8 @@ class AtomEnvironment extends Model
@contextMenu.clear()
@packages.serviceHub.clear()
###
Section: Event Subscription
###