This example instruments the React application that is using react-scripts v4 to run
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__
.
Run Cypress tests
npm test
The output should be saved in reports in the coverage
folder.
open coverage/lcov-report/index.html