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
alveshelio
changed the title
@testing-library/user-event 14.4.3 doesn't work with @testing-library/react 12.5.1
@testing-library/user-event 14.x doesn't work with @testing-library/react 12.5.1
May 2, 2023
alveshelio
changed the title
@testing-library/user-event 14.x doesn't work with @testing-library/react 12.5.1
@testing-library/user-event 14.x doesn't work with @testing-library/react 12.5.1 and React <18
May 2, 2023
Uh oh!
There was an error while loading. Please reload this page.
Reproduction example
https://codesandbox.io/p/sandbox/determined-tesla-82p2up?file=%2Fsrc%2Fcomponents%2FItemList.test.tsx
Prerequisites
npm run test
Expected behavior
await user.click(screen.getByRole('button'))
should click the button.Actual behavior
await user.click(screen.getByRole('button'))
throws a thrown: "Exceeded timeout of 5000 ms for a test.User-event version
14.4.3
Environment
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
Additional context
No response
The text was updated successfully, but these errors were encountered: