Repository navigation
Commit c5bd5b2
Jacek
fix(test): Mock @formkit/auto-animate/react in vitest setup
The __mocks__ directory in src/elements/ was not detected by Vitest for
node_module mocks, so auto-animate ran in tests and leaked timers that
fired after jsdom teardown, causing requestAnimationFrame errors.1 parent cdc7d44 commit c5bd5b2
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
265 | 272 | | |
266 | 273 | | |
267 | 274 | | |
| |||
0 commit comments