Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Latest commit

 

History

History

react-scripts-v4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

example: react-scripts v4

This example instruments the React application that is using react-scripts v4 to run

use

First, install the dependencies in the root folder of this repository

Second, install dependencies here

npm install

Start the application

npm start

The application should be instrumented, which you can check in the browser at localhost:3000 by looking at the object window.__coverage__.

Code coverage

Run Cypress tests

npm test

The output should be saved in reports in the coverage folder.

open coverage/lcov-report/index.html

Code coverage report