Cursusinhoud
Introduction to QA Automation Testing
Introduction to QA Automation Testing
4. Intro to Intermediate Automation Testing
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
?
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 4