Archived
1
0

fix: surpress console log in cli test

This commit is contained in:
Joe Previte 2021-01-25 16:34:43 -07:00
parent 14c5aecd45
commit 102f51ce1f
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -14,6 +14,7 @@ describe("parser", () => {
beforeEach(() => { beforeEach(() => {
delete process.env.LOG_LEVEL delete process.env.LOG_LEVEL
delete process.env.PASSWORD delete process.env.PASSWORD
console.log = jest.fn()
}) })
// The parser should not set any defaults so the caller can determine what // The parser should not set any defaults so the caller can determine what