M
Maybe you know how to fix TS error Property 'toBeInTheDocument' does not exist on type 'Matchers '. I have the same config as yours and I have this error( "jest": "^27.4.7", "jest-environment-jsdom": "^27.4.6", "typescript": "4.4.3", "@types/jest": "^27.4.0", "next": "^12.0.8", Thanks in advance!
CommentArticleJan 22, 2022How to create a Next.js project with TypeScript, Jest, React Testing Library and Test Renderer