Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 609 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 609 Bytes

Appointments app

Simple example, demonstrating how to write unit tests and e2e tests using Jest and Cypress. Created by create-react-app

How to start the app?

clone the repository using git clone command. then run npm i in root folder, then run npm start to see.

How to run tests?

unit tests

In order to run unit tests written by Jest, run npm run test.

To get coverage report, run npm run converage.

e2e tests

In order to run e2e tests written by Cypress, run npm run cypress:open to start Cypress GUI application, Then select desired e2e test file from the shown list.