mirror of https://github.com/coder/code-server.git
fix: surpress console log in cli test
This commit is contained in:
parent
14c5aecd45
commit
102f51ce1f
|
@ -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 New Issue