You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it said in docs and in this commentfindRelatedTests + coverage should be equal to findRelatedTests and collectCoverageFrom. But it's not because we concatcollectCoverageFrom from config with files from findRelatedTests.
To Reproduce
Compare these two commands:
yarn jest --findRelatedTests packages/jest-snapshot/src/dedentLines.ts --coverage
yarn jest --findRelatedTests packages/jest-snapshot/src/dedentLines.ts --coverage --collectCoverageFrom packages/jest-snapshot/src/dedentLines.ts
Expected behavior
I believe that result of these commands should be equal. Maybe we should override positive paths from collectCoverageFrom but leave negative (starts with !)?
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
As it said in docs and in this comment
findRelatedTests
+coverage
should be equal tofindRelatedTests
andcollectCoverageFrom
. But it's not because we concatcollectCoverageFrom
from config with files fromfindRelatedTests
.To Reproduce
Compare these two commands:
Expected behavior
I believe that result of these commands should be equal. Maybe we should override positive paths from
collectCoverageFrom
but leave negative (starts with!
)?envinfo
The text was updated successfully, but these errors were encountered: