I am struggling to create unit tests with Jest in NextJS TypeScript project, getting transpilation errors. This setup is using SWC. Please check the link in repro steps for more details.
- Create a new NextJS project with Jest template (TypeScript) Quickstart: Optimizing: Testing | Next.js
- Install UIKit React, follow all instructions
- Add a simple basic setup for
npm run test
Cannot create unit tests