Write Unit Test For React Application. (vitest, Testing-library)
May 4, 2024 · 7 min read · Here we will use the following packages for writing unit tests. Our application will be a react application that uses Tanstak-react-query for API calls. Vitest Testing-library Happy-dom Mock Server Worker (MSW) Testing API Calls In modern web a...
Join discussion