We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eacb32 commit c85ace5Copy full SHA for c85ace5
test/unit/node/cli.test.ts
@@ -371,8 +371,8 @@ describe("parser", () => {
371
}),
372
).toThrowError(expectedErrMsg)
373
})
374
- it("should not throw if an optional string is set to false", async () => {
375
- expect(() => parse(["--cert=false"])).not.toThrowError()
+ it("should ignore optional strings set to false", async () => {
+ expect(parse(["--cert=false"])).toEqual({})
376
377
378
0 commit comments