Skip to content

Commit 102f51c

Browse files
committed
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

Diff for: test/cli.test.ts

+1
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)