-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 downgraded 24.49% after switching from Jest ^18.1.0 to ^19.0.2 #3260
Comments
@DmitriiAbramov: thanks for answering back. What can I do about it at the moment? Should this be considered a bug on Jest since it uses those packages? Should I open an issue somewhere else? Thank you! |
@lucasbento i'd say it looks more like the issue was fixed, and now you get a more accurate coverage report :) |
@DmitriiAbramov: alright, gonna close this issue and merge the PR. Thank you again! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Jest
^18.1.0
was reporting a coverage of83.1%
on Jest^19.0.2
it reports only58.6%
,-24.49%
of coverage between the versions, the report looks pretty much the same (see the images below).If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can
yarn install
andyarn test
.To test on version
18.1.0
:master
of https://github.com/lucasbento/create-graphql;yarn install && npm run bootstrap && npm test
;open ./packages/coverage/index.html
.To test on version
19.0.2
(aerogear/create-graphql#82):feature/upgradeAll
of https://github.com/lucasbento/create-graphql;yarn install && npm run bootstrap && npm test
;open ./packages/coverage/index.html
.What is the expected behavior?
The coverage should stay the same between versions.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
npm: 3.10.10
yarn: 0.19.1
node: v6.9.5
OS: Mac OS X El Capitan 10.11.5
Also happening on CI (aerogear/create-graphql#83)Version ^18.1.0
Version ^19.0.2
The text was updated successfully, but these errors were encountered: