Skip to content

Coverage doesn't run for UI #3

@andyfleming

Description

@andyfleming

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions