Don't set TextEditor class's schedule in AtomEnvironment constructor

We construct multiple AtomEnvironment instances in the tests. I don't
know how the tests ever worked with this code in there.
This commit is contained in:
Max Brunsfeld
2017-11-21 13:11:22 -08:00
parent 218eb57f3a
commit 93f5ab4780
3 changed files with 2 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ global.atom = new AtomEnvironment({
enablePersistence: true
})
TextEditor.setScheduler(global.atom.views)
global.atom.preloadPackages()
# Like sands through the hourglass, so are the days of our lives.