Page MenuHomePhabricator

[CASHTAB] Update the jest dependency
ClosedPublic

Authored by Fabien on Jan 7 2021, 14:47.

Details

Reviewers
deadalnix
majcosta
Group Reviewers
Restricted Project
Commits
rABC82da5b3491b1: [CASHTAB] Update the jest dependency
Summary

Update jest to the latest version. This will allow for creating
coverage report files as needed, which is not supported with current
version.
Note that the collectCoverageFrom regex exclusion has been removed. It
was not matching any file and is very likely broken:
https://github.com/facebook/jest/issues/9464, so it's better to no rely
on it.
The coverage behavior seems to change quite a lot, because it takes into
acount the files with 0 coverage which were previously not accounted
for.

Test Plan
npm install
npm test
npm run test:coverage

Diff Detail

Repository
rABC Bitcoin ABC
Branch
cashtab_update_jest
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14635
Build 29229: Build Diff
Build 29228: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Jan 7 2021, 14:47
deadalnix requested changes to this revision.Jan 7 2021, 15:39
deadalnix added a subscriber: deadalnix.

If you need --legacy-peer-deps you have regressed something.

This revision now requires changes to proceed.Jan 7 2021, 15:39
Fabien requested review of this revision.Jan 7 2021, 16:10
Fabien edited the test plan for this revision. (Show Details)
Fabien added a subscriber: bytesofman.

I got this from the README, I did not introduce it for this diff. I tried without and it seems to run just fine, it's probably no longer needed @josephroyking ?
I updated the test plan.

This revision is now accepted and ready to land.Jan 7 2021, 18:57
This revision was automatically updated to reflect the committed changes.