language-t8-assembly/spec/language-t8-assembly-spec.coffee
2018-05-20 06:59:28 -05:00

17 lines
496 B
CoffeeScript

# If you want an example of language specs, check out:
# https://github.com/atom/language-javascript/blob/master/spec/javascript-spec.coffee
describe "T8Assembly grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-t8-assembly")
runs ->
grammar = atom.syntax.grammarForScopeName("source.t8-assembly")
it "parses the grammar", ->
expect(grammar).toBeTruthy()
expect(grammar.scopeName).toBe "source.t8-assembly"