mirror of
https://github.com/danog/code-server.git
synced 2024-11-30 04:39:46 +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
@ -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
Block a user