diff options
| -rw-r--r-- | colors/test.ts | 2 |
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"), "[31mHello world[39m"); }); |
