The goal of this repo is to have a simple app tested using Cypress for e2e tests and React Testing Library for component testing. Even since Cypress 10 is possible to do component testing, it is still in beta and with this repo I want to show how React Testing Library works because currently is the main choice for React developers.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches integration tests in the interactive watch mode.
See the section about running tests for more information.
Launches Cypress tests in browser mode.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.