Back to mocha!

sorry i ever left you dear mocha

node:test has two major issues:
* --bail does not work and requires strange modules and incantations.
I was able to work around this with a custom module.

* the test reporter reports _after_ the suite is run. this makes debugging
really hard. the debugs that we print all happen before the test suite summary.
poor design overall.
This commit is contained in:
Girish Ramakrishnan
2026-02-19 13:24:14 +01:00
parent c176ac600b
commit d0a66f1701
92 changed files with 778 additions and 228 deletions

View File

@@ -1,5 +1,4 @@
import { describe, it } from 'node:test';
import { describe, it } from 'mocha';
import DataLayout from '../datalayout.js';
import assert from 'node:assert/strict';