And reported an unexpected behaviour that I'm seeing in #nodeTest / #NodeJS in regards to #errorCauses: https://github.com/nodejs/node/issues/48900
`.cause` of errors in`node:test` test cases not available to custom reporter · Issue #48900 · nodejs/node

Version 18.16.1 Platform MacOS Subsystem test What steps will reproduce the bug? I made a Code Sandbox that shows a reproduction. In short: import { test } from "node:test"; test("causes", () => { ...

GitHub

Started using `node:test` in some of my projects but was missing the reporter style that I'm used to from Mocha, so I decided to fix that: https://github.com/voxpelli/node-test-pretty-reporter

#npmRelease #NodeJS #nodeTest #newNpmModule

GitHub - voxpelli/node-test-pretty-reporter: Reporter for node:test that supports colorful diffs etc

Reporter for node:test that supports colorful diffs etc - GitHub - voxpelli/node-test-pretty-reporter: Reporter for node:test that supports colorful diffs etc

GitHub