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
Hi, I am trying do a testing in vitest and @testing-library/react, when i try do me a error TypeError: Cannot read properties of null (reading 'useState'). After I went to vitest and try the react-testing-lib in demo and it do a same problem.
Describe the bug
Hi, I am trying do a testing in vitest and @testing-library/react, when i try do me a error TypeError: Cannot read properties of null (reading 'useState'). After I went to vitest and try the react-testing-lib in demo and it do a same problem.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-ff6sbs?file=src%2FApp.test.tsx&initialPath=__vitest__/
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: