Skip to content

This repository showcases how to test React Query components using Jest & Testing Library in TypeScript.

Notifications You must be signed in to change notification settings

nextglabs/testing-react-query-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This repository showcases how to test React Query components using Jest & Testing Library in TypeScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published