question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `coverageProvider` to `jest --init` prompts

See original GitHub issue

We want to encourage folks try out the V8 based code coverage (or at least teach them it exists). I think a prompt in --init and its entry into the generated config file would be help.

https://jestjs.io/docs/en/configuration#coverageprovider-string https://github.com/facebook/jest/blob/master/packages/jest-cli/src/init/index.ts

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
SimenBcommented, May 11, 2020

Yes please!

0reactions
github-actions[bot]commented, May 11, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jest CLI Options
The jest command line runner has a number of useful options. You can run jest --help to view all available options. Many of...
Read more >
Jest: Automatically collect coverage from tested files
Use a config file to specify coverage reporters, then add a list of files you want to test. If that doesn't answer your...
Read more >
Jest: packages/jest-cli/src/init/questions.ts | Fossies
Member "jest-29.0.3/packages/jest-cli/src/init/questions.ts" (10 Sep 2022, ... 28 initial: false, 29 message: 'Do you want Jest to add coverage reports?
Read more >
babel-jest 26.1.0 on Node.js NPM - NewReleases.io
... --selectProjects CLI argument to filter test suites by project name (#8612); [jest-cli, jest-init] Add coverageProvider to jest --init prompts (#10044) ...
Read more >
jest-get-type | Yarn - Package Manager
main. Features. Fixes. Chore & Maintenance. Performance. 29.2.0. Features. [@jest/cli, jest-config] A seed for the test run will be randomly generated, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found