You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the introduction how to use jest with typescript.
I created jest.setup.ts file and imported @testing-library/jest-dom.
But getting unexpected error and couldn't find a way to solve this issue.
Property 'toBeInTheDocument' does not exist on type 'Assertion'.ts(2339)
I followed the introduction how to use jest with typescript.
I created jest.setup.ts file and imported @testing-library/jest-dom.
But getting unexpected error and couldn't find a way to solve this issue.
Property 'toBeInTheDocument' does not exist on type 'Assertion'.ts(2339)
my package.json file is as follows.
The text was updated successfully, but these errors were encountered: