From 102f51ce1f023a8bc1b74fedab44e81da73eaaf3 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 25 Jan 2021 16:34:43 -0700 Subject: [PATCH] fix: surpress console log in cli test --- test/cli.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cli.test.ts b/test/cli.test.ts index 36cc090fe..6a0cfd7b6 100644 --- a/test/cli.test.ts +++ b/test/cli.test.ts @@ -14,6 +14,7 @@ describe("parser", () => { beforeEach(() => { delete process.env.LOG_LEVEL delete process.env.PASSWORD + console.log = jest.fn() }) // The parser should not set any defaults so the caller can determine what