Skip to content

Commit

Permalink
Remove fragile test
Browse files Browse the repository at this point in the history
FORCE_COLOR can override no TTY tests.
  • Loading branch information
jorgebucaran committed Oct 15, 2021
1 parent 84d6b49 commit 840f50e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/environment.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const execThenEqual = (cmd, expected) => (done) =>

export default [
t("environment", [
t("no TTY", execThenEqual(BIN, "foo\n")),
t("`FORCE_COLOR` forces color", [
execThenEqual(`FORCE_COLOR= ${BIN}`, "\x1b[34mfoo\x1b[39m\n"),
]),
Expand Down

0 comments on commit 840f50e

Please sign in to comment.