Skip to content

Commit 793e4d3

Browse files
authored
feat(testing): add new test for cli.ts (#4898)
* feat(testing): add new test for cli.ts * fixup!: update parse test
1 parent f9402a6 commit 793e4d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/unit/node/cli.test.ts

+3
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,9 @@ describe("parser", () => {
371371
}),
372372
).toThrowError(expectedErrMsg)
373373
})
374+
it("should ignore optional strings set to false", async () => {
375+
expect(parse(["--cert=false"])).toEqual({})
376+
})
374377
})
375378

376379
describe("cli", () => {

0 commit comments

Comments
 (0)