Skip to content

Had Code Coverage Previously, but now Disappeared #9319

@jvanderen1

Description

@jvanderen1

🐛 Bug Report

In my test suite, I normally ran all my tests and received some code coverage:

Screen Shot 2019-12-17 at 9 03 26 AM

But now I updated npm and node, now my code coverage looks like this:

Screen Shot 2019-12-17 at 8 55 22 AM

Reproduction

Visit the following repository: https://gitlab.com/jvanderen1/testing-react-components/-/tree/master

Then run the following commands:

npm install
npm run test:coverage

envinfo

  System:
    OS: macOS 10.15.2
    CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  Binaries:
    Node: 12.13.1 - /usr/local/bin/node
    npm: 6.12.1 - /usr/local/bin/npm
  npmPackages:
    jest: ^24.9.0 => 24.9.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions