This example shows how to configure Jest to work with Next.js.
This includes Next.js' built-in support for Global CSS, CSS Modules and TypeScript. It originally came from the with-jest
example from Next.js.
I've updated the example to add in the following:
- react-query
- Incorporating the snippets from the react-query docs for v3
- msw
- Following the official next.js example