diff --git a/colors/test.ts b/colors/test.ts index bdce355234..bfe8bc4f51 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"); });