-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Description
🐛 Bug Report
This is going to be somewhat of a difficult bug report since there's many moving parts and I'm not sure which causes it, but since upgrading Jest from 23.1.0 to 23.2.0, I'm currently running into the following error on one of my projects:
=============================== Coverage summary ===============================
Statements : Unknown% ( 0/0 )
Branches : Unknown% ( 0/0 )
Functions : Unknown% ( 0/0 )
Lines : Unknown% ( 0/0 )
================================================================================
Jest: Coverage data for global was not found.
Apart from the upgrade (which did encompass quite a few packages to be upgraded along with jest proper), nothing changed in my setup.
I'm using TypeScript with ts-jest, if relevant.
To Reproduce
$ git clone -b deps/update-46517a0f [email protected]:Flockademic/Flockademic.git
$ yarn
$ yarn run jest
Unfortunately I wouldn't know how to reproduce this in a fresh repo...
Expected behavior
Tests to succeed (which is happening now) and coverage to be 100% everywhere.
Link to repl or repo (highly encouraged)
Not minimal unfortunately, but as I referenced above: git clone -b deps/update-46517a0f [email protected]:Flockademic/Flockademic.git.
Run npx envinfo --preset jest
Paste the results here:
System:
OS: Linux 4.13 Ubuntu 16.04.4 LTS (Xenial Xerus)
CPU: x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Binaries:
Node: 8.10.0 - ~/.nvm/versions/node/v8.10.0/bin/node
Yarn: 1.7.0 - /usr/bin/yarn
npm: 5.6.0 - ~/.nvm/versions/node/v8.10.0/bin/npm
npmPackages:
@types/jest: 23.1.1 => 23.1.1
jest: 23.2.0 => 23.2.0Metadata
Metadata
Assignees
Labels
No labels