Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bohdanmoroziuk/react-testing-library-tutorial
Example of testing React app with Jest and React Testing Library.
https://github.com/bohdanmoroziuk/react-testing-library-tutorial
integration-testing jest react react-testing react-testing-library snapshot-testing typescript unit-testing
Last synced: about 1 month ago
JSON representation
Example of testing React app with Jest and React Testing Library.
- Host: GitHub
- URL: https://github.com/bohdanmoroziuk/react-testing-library-tutorial
- Owner: bohdanmoroziuk
- License: mit
- Created: 2022-04-23T07:21:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-02T09:03:02.000Z (over 1 year ago)
- Last Synced: 2023-12-05T18:49:16.562Z (about 1 year ago)
- Topics: integration-testing, jest, react, react-testing, react-testing-library, snapshot-testing, typescript, unit-testing
- Language: TypeScript
- Homepage:
- Size: 1.76 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Testing Library Tutorial
> Example of testing React app with Jest and React Testing Library.
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.### `npm test`
Launches the test runner in the interactive watch mode.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.