diff --git a/test/parallel/test-runner-output.mjs b/test/parallel/test-runner-output.mjs index a79a0a8822aa55..f7e1c07a4d5f94 100644 --- a/test/parallel/test-runner-output.mjs +++ b/test/parallel/test-runner-output.mjs @@ -207,12 +207,12 @@ const tests = [ name: 'test-runner/output/non-tty-forced-color-output.js', transform: specTransform, }, - { + !skipForceColors ? { name: 'test-runner/output/assertion-color-tty.mjs', flags: ['--test', '--stack-trace-limit=0'], transform: specTransform, tty: true, - }, + } : false, { name: 'test-runner/output/async-test-scheduling.mjs', flags: ['--test-reporter=tap'],