Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Test Coverage Report | Using a Test Automation Framework
Introduction to QA Automation Testing

book
Test Coverage Report

The boilerplate format of jest.config.js file is:

js
/** @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

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 4

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

We use cookies to make your experience better!
some-alt