Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Test Coverage Report | Section
Test Automation with Jest and Selenium

Test Coverage Report

Stryg for at vise menuen

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?

question mark

Which command is used to generate a test coverage report in Jest?

Vælg det korrekte svar

question mark

Where is the default coverage report generated when running Jest with the --coverage option?

Vælg det korrekte svar

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 9

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

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.

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 9
some-alt