Steps to reproduce
- Run
npm run coverage
- Observe that tests did not run
Details
The command configured in package.json (at the time of writing this issue) is:
SKIP_PREFLIGHT_CHECK=true react-scripts test --coverage
Before the coverage table is outputted, an error is outputted:
The macro you imported from "undefined" is being executed outside the context of compilation with babel-plugin-macros. This indicates that you don't have the babel plugin "babel-plugin-macros" configured correctly. Please see the documentation for how to configure babel-plugin-macros properly: https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/user.md
Steps to reproduce
npm run coverageDetails
The command configured in
package.json(at the time of writing this issue) is:Before the coverage table is outputted, an error is outputted: