From: Chris Duncan Date: Wed, 12 Aug 2026 05:31:26 +0000 (-0700) Subject: Print another layer of error causes when testing. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=4294c3f4d37ab2e199ff8b114e347535ecc690ab;p=libnemo.git Print another layer of error causes when testing. --- diff --git a/test/GLOBALS.mjs b/test/GLOBALS.mjs index 16b6f0f..e75945b 100644 --- a/test/GLOBALS.mjs +++ b/test/GLOBALS.mjs @@ -72,7 +72,7 @@ export const failures = [] export const passes = [] function fail (err) { failures.push(err.message) - console.error(`%cFAIL `, 'color:red', err.message, err.cause) + console.error(`%cFAIL `, 'color:red', err.message, err.cause, err.cause.cause) } function pass (name) { passes.push(name)