Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
babel throws when running test suite with ts-jest #9475
Potential Commit/PR that introduced the regression
Describe the regression
(This issue is also filed in
Here is a minimal repo that I made that reproduces this issue:
Babel Configuration (.babelrc, package.json, cli command)
Previously, the tests ran without crashing. Commenting out throwing the error in Babel also allows the tests to run.
Hey @paulrehkugler! We really appreciate you taking the time to report an issue. The collaborators
We came across this bug too, in a slightly different setting.
So far so good, the tests started running and most passed. However, one suite would not run. We got the error mentioned in the OP's description and commenting out the lines also makes the test run for us. Interestingly, switching the regex pattern in the babel config for a string also makes the test run.