Skip to content

Commit

Permalink
Fix JSX test on latest node.js error output
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Oct 10, 2019
1 parent 3cb3405 commit 11707a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.spec.ts
Expand Up @@ -379,7 +379,7 @@ describe('ts-node', function () {
try {
require('../tests/with-jsx.tsx')
} catch (error) {
expect(error.stack).to.contain('SyntaxError: Unexpected token <\n')
expect(error.stack).to.contain('SyntaxError: Unexpected token')
}

expect(compiled).to.match(SOURCE_MAP_REGEXP)
Expand Down

0 comments on commit 11707a4

Please sign in to comment.