Skip to content

Commit 135381b

Browse files
Merge pull request #299 from pulsar-edit/javascript-tests
Resolve all Tests within `language-javascript` (Resolves 24 Failing Tests)
2 parents 060c13e + cd13d98 commit 135381b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

packages/language-javascript/spec/javascript-spec.coffee

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -838,14 +838,9 @@ describe "JavaScript grammar", ->
838838
expect(tokens[14]).toEqual value: '`', scopes: ['source.js', 'string.quoted.template.js', 'punctuation.definition.string.end.js']
839839

840840
describe "HTML template strings", ->
841-
# TODO: Remove after Atom 1.21 is released
842841
[tagScope, entityScope] = []
843-
if parseFloat(atom.getVersion()) <= 1.21
844-
tagScope = 'meta.tag.inline.any.html'
845-
entityScope = 'entity.name.tag.inline.any.html'
846-
else
847-
tagScope = 'meta.tag.inline.b.html'
848-
entityScope = 'entity.name.tag.inline.b.html'
842+
tagScope = 'meta.tag.inline.b.html'
843+
entityScope = 'entity.name.tag.inline.b.html'
849844

850845
beforeEach ->
851846
waitsForPromise ->

0 commit comments

Comments
 (0)