For some reason, spec fails to run asynchronous on
waitsForPromise with “timed out after 5000 msec waiting for something to happen” message. Here is the code:
describe "MODX grammar", -> grammar = null beforeEach -> waitsForPromise -> atom.packages.activatePackage("modx-revolution") runs -> grammar = atom.grammars.grammarForScopeName("text.html.modx") it "parses the grammar", -> expect(grammar).toBeTruthy() expect(grammar.scopeName).toBe "text.html.modx"
When running it with
apm test, there is 0 tests shown. Grammar itself working as expected. Whats the problem here?
Btw, running on Arch Linux x64.
Thanks in advance.