mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 13:19:58 -05:00
test: user-event that matches the DOM library it drives
Rebasing onto master brought @testing-library/dom 8.20.0 -> 10.4.1, while user-event stayed at 13.5.0. v13 targets dom v8 and reaches into internals v10 moved, so its keyboard simulation silently stopped dispatching: two SearchBox tests failed with `Number of calls: 0` -- the arrow keys and Enter did nothing. Test-harness only. @testing-library/dom never reaches a build, and no product code changed in the rebase; the combination was simply never installed together until master's bump met this branch. v14's direct API is call-compatible with what the ten suites already do, so no test needed rewriting -- the calls were already awaited. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
24e2dd8b9b
commit
f1bc52d9c6
2 changed files with 11 additions and 15 deletions
|
|
@ -11,7 +11,7 @@
|
|||
"@mantine/notifications": "^8.3.18",
|
||||
"@tabler/icons-react": "^3.46.0",
|
||||
"@testing-library/react": "^13.4.0",
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
"cypress": "^15.20.0",
|
||||
"esptool-js": "^0.6.0",
|
||||
"lodash": "^4.18.1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue