Commit 9129b25
committed
fix: stabilize invite modal URL preview tests against jsdom event changes
- Convert two flaky userEvent.type()-based tests to fireEvent.change() with
fake timers to avoid jsdom 29.1.1 incompatibility with email input events
- Replace waitFor polling (which hangs under fake timers) with synchronous
assertions after advancing fake timers past the 500ms debounce threshold
- Fix lefthook frontend-lint and frontend-type-check hooks to use full paths
for npm and npx so git hooks resolve the binaries in all environments
- Unblocks Renovate jsdom minor update (29.1.0 -> 29.1.1)
Refs: #9921 parent e9dc193 commit 9129b25
2 files changed
Lines changed: 33 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
525 | 526 | | |
526 | | - | |
527 | | - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
528 | 536 | | |
529 | | - | |
530 | 537 | | |
531 | | - | |
532 | 538 | | |
533 | | - | |
534 | 539 | | |
535 | | - | |
536 | 540 | | |
537 | 541 | | |
538 | | - | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
539 | 546 | | |
540 | 547 | | |
541 | 548 | | |
| |||
599 | 606 | | |
600 | 607 | | |
601 | 608 | | |
| 609 | + | |
602 | 610 | | |
603 | | - | |
604 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
605 | 620 | | |
606 | | - | |
607 | 621 | | |
608 | | - | |
609 | 622 | | |
610 | | - | |
611 | | - | |
612 | | - | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
613 | 630 | | |
614 | 631 | | |
615 | 632 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments