mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue