jest icon indicating copy to clipboard operation
jest copied to clipboard

fix(jest-config): support collectCoverage in project config

Open munirapp opened this issue 1 year ago • 3 comments

Background

Since collectCoverageFrom, coverageDirectory, coveragePathIgnorePatterns and coverageReporters has been added into InitialProjectOptions, it's also necessary to add collectCoverage in project options because this option is getting used for enable/disable coverage process.

This patch will fix some issues about collectCoverage warning message :

  • https://github.com/jestjs/jest/issues/13576#issuecomment-1326268687
  • https://github.com/jestjs/jest/issues/13576#issuecomment-1339909820
  • https://github.com/jestjs/jest/issues/13576#issuecomment-1849541421
  • https://github.com/jestjs/jest/issues/13576#issuecomment-1854853905
  • https://github.com/jestjs/jest/issues/13576#issuecomment-1929266869

Notes

I running this command below to pass the e2e test following @SimenB instructions here

yarn jest logDebugMessages ScriptTransformer showConfig -u

munirapp avatar Sep 22 '24 10:09 munirapp

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: munirapp / name: Munir AP (745c65aa08a3c30192f0b2a45b3af8e3f436e71a, 1cd0e9e7c011cfc9f3bc7cda0acb1bdc4e660555, c70ab341800ae8ff4f497807a4712dd36ebaf75d)

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
Latest commit 1cd0e9e7c011cfc9f3bc7cda0acb1bdc4e660555
Latest deploy log https://app.netlify.com/sites/jestjs/deploys/6721731c00161f000861ffd5
Deploy Preview https://deploy-preview-15318--jestjs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Sep 22 '24 10:09 netlify[bot]

Hello @SimenB sorry to distrupt you here, just want to confirm with this PR, Are jest contributors having different plan to solve this issue? if yes, then I will close this PR. But if it not, would you add some comment to elaborate what's wrong with this PR?

munirapp avatar Oct 07 '24 12:10 munirapp

This pull request 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.

github-actions[bot] avatar Jan 27 '25 00:01 github-actions[bot]