Test Coverage Report
The boilerplate format of jest.config.js
file is:
/** @type {import('jest').Config} */
const config = {
// Options here
};
module.exports = config;
We use the collectCoverageFrom
option to target or exclude specific files and folders.
1. Which command is used to generate a test coverage report in Jest?
2. Where is the default coverage report generated when running Jest with the --coverage option
?
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 4
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 3.85
Test Coverage Report
Swipe to show menu
The boilerplate format of jest.config.js
file is:
/** @type {import('jest').Config} */
const config = {
// Options here
};
module.exports = config;
We use the collectCoverageFrom
option to target or exclude specific files and folders.
1. Which command is used to generate a test coverage report in Jest?
2. Where is the default coverage report generated when running Jest with the --coverage option
?
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 4