summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--colors/test.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/colors/test.ts b/colors/test.ts
index bdce35523..bfe8bc4f5 100644
--- a/colors/test.ts
+++ b/colors/test.ts
@@ -19,4 +19,6 @@ test(function enablingColors() {
assert.equal(getEnabled(), true);
setEnabled(false);
assert.equal(bgBlue(red("Hello world")), "Hello world");
+ setEnabled(true);
+ assert.equal(red("Hello world"), "Hello world");
});