typescript-babel-jest icon indicating copy to clipboard operation
typescript-babel-jest copied to clipboard

comments are allowed in tsconfig.json

Open aristotll opened this issue 6 years ago • 0 comments

See this issue https://github.com/Microsoft/TypeScript/issues/4987 and this PR https://github.com/Microsoft/TypeScript/pull/5450

But this plugin uses require to import tsconfig, which rejects comments(as standard json does not support comments).

Error message:

Test suite failed to run

SyntaxError: .../tsconfig.json: Unexpected token / in JSON at position 208 at JSON.parse ()

aristotll avatar Jan 11 '18 06:01 aristotll