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

@@ -62,13 +62,13 @@
"xml2js": "^0.6.2"
},
"devDependencies": {
"@cloudron/bail-reporter": "^1.1.0",
"@eslint/js": "^10.0.1",
"commander": "^14.0.3",
"easy-table": "^1.2.0",
"eslint": "^10.0.0",
"eventsource": "^4.1.0",
"globals": "^17.3.0",
"mocha": "^11.7.5",
"nock": "^14.0.11",
"ssh2": "^1.17.0"
},