npm package
Home@testing-library/user-event
The @testing-library/user-event package simulates user interactions in tests, allowing developers to fire events as a user would in a browser. It is particularly useful for jsdom/happy-dom Testing Library tests where real browser interactions are not feasible. However, for tests that can run in a real browser, alternatives like Vitest Browser Mode or Playwright are recommended.
- lurq health score
- 75/100
- Confidence
- proven
- Weekly downloads
- 37,764,545
- Latest version
- 14.6.7
- Last release
- Sep 2, 2026
- License
- MIT
Should you depend on @testing-library/user-event?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks @testing-library/user-event at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading @testing-library/user-event
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 13.5.0 → 14.6.7diff ready
- 12.8.3 → 13.5.0diff ready
- 11.4.2 → 12.8.3diff ready
Other testing packages lurq scores
- fast-check94/100 · proven
- marked93/100 · proven
- @middy/util93/100 · proven
- jsdom90/100 · proven
- mocha90/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 21, 2026; this page refreshes every 168 hours. Source repository.