Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage doesn't run for UI #3

Open
andyfleming opened this issue Mar 7, 2019 · 0 comments
Open

Coverage doesn't run for UI #3

andyfleming opened this issue Mar 7, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@andyfleming
Copy link
Owner

Steps to reproduce

  1. Run npm run coverage
  2. 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

@andyfleming andyfleming added the help wanted Extra attention is needed label Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant