Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: unexpected-error test expects non-colored output #4813

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 25, 2023

  1. test: unexpected-error test expects non-colored output

    The assertions in unexpected-error.spec.ts expect the output being tested to not contain ANSI color codes. To ensure that is always the case, set FORCE_COLOR="0" so node doesn't output colors.
    
    Without this change, this test will pass or fail depending upon the terminal being used to run the tests. With this change, the test runs consistently.
    candrews committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    558514e View commit details
    Browse the repository at this point in the history