Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.