Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Test Coverage Report | Using a Test Automation Framework
Quizzes & Challenges
Quizzes
Challenges
/
Test Automation with Jest & Selenium

bookTest 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?

question mark

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

Select the correct answer

question mark

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

Select the correct answer

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 2. Hoofdstuk 4

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

Suggested prompts:

Can you explain more about how to use glob patterns in Jest?

How do I exclude specific files or folders from the coverage report?

What is the difference between statement, line, and branch coverage in Jest?

Awesome!

Completion rate improved to 3.85

bookTest Coverage Report

Veeg om het menu te tonen

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?

Select the correct answer

question mark

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

Select the correct answer

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 2. Hoofdstuk 4
some-alt