mirror of https://github.com/coder/code-server.git
feat(testing): add new test for cli.ts (#4898)
* feat(testing): add new test for cli.ts * fixup!: update parse test
This commit is contained in:
parent
f9402a6318
commit
793e4d35ec
|
@ -371,6 +371,9 @@ describe("parser", () => {
|
||||||
}),
|
}),
|
||||||
).toThrowError(expectedErrMsg)
|
).toThrowError(expectedErrMsg)
|
||||||
})
|
})
|
||||||
|
it("should ignore optional strings set to false", async () => {
|
||||||
|
expect(parse(["--cert=false"])).toEqual({})
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe("cli", () => {
|
describe("cli", () => {
|
||||||
|
|
Loading…
Reference in New Issue