Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 770 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 770 Bytes

How to Test React-Query Components

This project has been created to demonstrate how to easily test React components that rely on React-Query using Jest, Testing Library, Typescript and ChakraUI.

Medium Article

You can read the Medium article on How to Build & Test React-Query Components in Typescript

Getting Started

yarn start

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.

yarn test

Launches the test runner in the interactive watch mode.