react-testing-library-recipes

React Testing Library Recipes to test React Applications

MIT License

Stars
11

React Testing Library Recipes

React Testing Library Recipes to test React Applications

Setup & Test

Using Codesandbox recipes.

Or running this project:

yarn install
yarn test

Queries

Recipes to understand how to use the React Testing Library queries API.

Content

A recipe on how to expect content in the DOM.

Form

A recipe to understand how to handle forms.

Loading

A recipe to understand how to handle fetching & loading

Custom Hook

A recipe to test custom hooks