-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Closed
Labels
test_runnerIssues and PRs related to the test runner subsystem.Issues and PRs related to the test runner subsystem.
Description
Version
v22.9.0
Platform
Linux deadbeef 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
test_runner
What steps will reproduce the bug?
When running the test-runner outside of a tty, it's not possible to force colors.
FORCE_COLOR=1 node --test | cat
How often does it reproduce? Is there a required condition?
No condition.
What is the expected behavior? Why is that the expected behavior?
When FORCE_COLOR is set to 1, 2 or 3, I expect ansi color codes to be written to stdout even if it's not in a tty.
What do you see instead?
It doesn't respect the FORCE_COLOR and no ansi color codes are in the output.
Additional information
No response
pmarchini and tonivj5
Metadata
Metadata
Assignees
Labels
test_runnerIssues and PRs related to the test runner subsystem.Issues and PRs related to the test runner subsystem.