test(cli/tests/unit): Enable color for js_unit_tests (#7443)

This commit is contained in:
Nayeem Rahman 2020-09-14 11:46:50 +01:00 committed by GitHub
parent 4baf61993c
commit f874b83aa0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 30 deletions

View file

@ -62,7 +62,7 @@ unitTest(
)`;
const proc = Deno.run({
cmd: [Deno.execPath(), "eval", src],
env: inputEnv,
env: { ...inputEnv, NO_COLOR: "1" },
stdout: "piped",
});
const status = await proc.status();