Commit 32747bb
committed
fix(test): isolate real-world usage tests with explicit spy clearing
Add mockClear() calls at the start of "progress indicator pattern" and
"table rendering" tests to ensure they run with clean spy state. These
tests check absolute call counts and were accumulating calls from
previous tests in the describe block on Node.js 24.1 parent 9248988 commit 32747bb
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| 531 | + | |
| 532 | + | |
531 | 533 | | |
532 | 534 | | |
533 | 535 | | |
| |||
555 | 557 | | |
556 | 558 | | |
557 | 559 | | |
| 560 | + | |
| 561 | + | |
558 | 562 | | |
559 | 563 | | |
560 | 564 | | |
| |||
0 commit comments