mirror of
https://github.com/cdr/code-server.git
synced 2025-12-07 17:02:27 +01:00
fix: surpress console log in cli test
This commit is contained in:
parent
14c5aecd45
commit
102f51ce1f
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue