|
|
@ -5,11 +5,13 @@ describe "Mblf grammar", -> |
|
|
|
grammar = null |
|
|
|
grammar = null |
|
|
|
|
|
|
|
|
|
|
|
beforeEach -> |
|
|
|
beforeEach -> |
|
|
|
|
|
|
|
atom.config.set('core.useTreeSitterParsers', false) |
|
|
|
|
|
|
|
|
|
|
|
waitsForPromise -> |
|
|
|
waitsForPromise -> |
|
|
|
atom.packages.activatePackage("language-mblf") |
|
|
|
atom.packages.activatePackage("language-mblf") |
|
|
|
|
|
|
|
|
|
|
|
runs -> |
|
|
|
runs -> |
|
|
|
grammar = atom.syntax.grammarForScopeName("source.mblf") |
|
|
|
grammar = atom.grammars.grammarForScopeName("source.mblf") |
|
|
|
|
|
|
|
|
|
|
|
it "parses the grammar", -> |
|
|
|
it "parses the grammar", -> |
|
|
|
expect(grammar).toBeTruthy() |
|
|
|
expect(grammar).toBeTruthy() |
|
|
|