diff --git a/test/lib/formatting/colorize.mjs b/test/lib/formatting/colorize.mjs index be1cc3ed..c826f165 100644 --- a/test/lib/formatting/colorize.mjs +++ b/test/lib/formatting/colorize.mjs @@ -1,5 +1,4 @@ import { expect } from "chai"; -import stripAnsi from "strip-ansi"; import { run } from "../../../src/cli.mjs"; import { setupRealContainer } from "../../../src/config/setup-container.mjs"; @@ -36,11 +35,6 @@ describe("colorize", () => { } else { expect(result).to.equal(input); } - if (format !== Format.JSON) { - expect(stripAnsi(result)).to.equal(input); - } else { - expect(stripAnsi(result)).to.not.equal(result); - } } }); });