Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 102f51c

Browse files
committedJan 25, 2021
fix: surpress console log in cli test
1 parent 14c5aec commit 102f51c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎test/cli.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ describe("parser", () => {
1414
beforeEach(() => {
1515
delete process.env.LOG_LEVEL
1616
delete process.env.PASSWORD
17+
console.log = jest.fn()
1718
})
1819

1920
// The parser should not set any defaults so the caller can determine what

0 commit comments

Comments
 (0)
Please sign in to comment.