@testing-library/dom version: 8.12.0
@testing-library/user-event version: 14.04
@testing-library/react version: 13.0.0
- Testing Framework and version:
[email protected]
- DOM Environment:
@testing-library/[email protected]
- Framework:
react/[email protected]
- Node version: 16.14.2
Relevant code or config:
jest.config.js
setupTest.ts
What you did:
Attempting to test user arrow key navigation within a modal: ArrowRight and ArrowLeft
What happened:
TypeErrors:
ArrowRight
ArrowLeft
Reproduction:
testing branch (failing)
Problem description:
Appears that arrow keys aren't mapped properly. Downgrading to React 17.0.2, Testing Library User Event 13.0.5 and Testing Library React 12.1.4 works as expected on my development branch.
@testing-library/domversion: 8.12.0@testing-library/user-eventversion: 14.04@testing-library/reactversion: 13.0.0[email protected]@testing-library/[email protected]react/[email protected]Relevant code or config:
jest.config.js
setupTest.ts
What you did:
Attempting to test user arrow key navigation within a modal: ArrowRight and ArrowLeft
What happened:
TypeErrors:
ArrowRight
ArrowLeft
Reproduction:
testing branch (failing)
Problem description:
Appears that arrow keys aren't mapped properly. Downgrading to React 17.0.2, Testing Library User Event 13.0.5 and Testing Library React 12.1.4 works as expected on my development branch.