Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>
Opened this issue · 0 comments
kevinmichaelchen commented
I cloned this repo and ran
pnpm i
pnpm dev
But am getting some errors from the toBeInTheDocument
function in App.test.tsx
.
ERROR in src/App.test.tsx:8:23
TS2339: Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'.