Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Babel ignored when running tests #417
Steps to Reproduce
Run tests in console -> tests pass correctly
View autorun result in output -> test fails as babel not run for some reason
Relevant Debug Info
I did have issues getting the new babel version working from
I have a similar problem with vscode-jest and vue-jest. The configuration seems right because the tests are being found and run however they all fail on
I tried providing a babel config directly in vue-jest config babel section but it is not run prior to the tests executing, or it if is the debug option isnt printing anything. The verbose flag also seems to be ignored.
In my case my src files are several directories under the opened workspace folder in vs code. This is because its an enterprise application with multiple project modules. I am providing absolute paths to both
Interesting that after the --watch fails to start manually starting the jest runner clicking debug on an individual test breaks inside my custom babel config.js even with the above vue-jest babel config.