Commit 6c54a81
Migrate from Mocha/Chai/Sinon to Node built-in test runner
Replace mocha, chai, and sinon with node:test and node:assert/strict
(built into Node 22). This removes 3 dev dependencies while keeping
identical test coverage (438 pass, 44 skipped).
- Convert all fs.readFile callbacks to fs.readFileSync
- Replace sinon.spy() with mock.fn() from node:test
- Replace this.timeout() with { timeout } options on describe
- Replace this.skip() with test context t.skip()
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1f50f96 commit 6c54a81
File tree
8 files changed
+766
-1952
lines changed- test
8 files changed
+766
-1952
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | 27 | | |
30 | | - | |
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
419 | 420 | | |
420 | 421 | | |
421 | 422 | | |
422 | | - | |
423 | | - | |
424 | | - | |
| 423 | + | |
425 | 424 | | |
426 | 425 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
433 | 429 | | |
434 | 430 | | |
435 | 431 | | |
| |||
479 | 475 | | |
480 | 476 | | |
481 | 477 | | |
482 | | - | |
| 478 | + | |
483 | 479 | | |
484 | 480 | | |
485 | | - | |
| 481 | + | |
| 482 | + | |
486 | 483 | | |
487 | 484 | | |
488 | 485 | | |
| |||
0 commit comments