Skip to content

test: Enable skipped colorize test#57887

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
islandryu:fix/colorizetest
Apr 18, 2025
Merged

test: Enable skipped colorize test#57887
nodejs-github-bot merged 1 commit intonodejs:mainfrom
islandryu:fix/colorizetest

Conversation

@islandryu
Copy link
Copy Markdown
Member

const canColorize = process.stderr?.isTTY && (
  typeof process.stderr?.getColorDepth === 'function' ?
    process.stderr?.getColorDepth() > 2 : true);

When executed with "make test", canColorize in "test-runner-output.mjs" always seems to be false.
This causes a discrepancy when running the test directly.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants