Skip to content

Commit c85ace5

Browse files
committed
fixup!: update parse test
1 parent 0eacb32 commit c85ace5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/node/cli.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ describe("parser", () => {
371371
}),
372372
).toThrowError(expectedErrMsg)
373373
})
374-
it("should not throw if an optional string is set to false", async () => {
375-
expect(() => parse(["--cert=false"])).not.toThrowError()
374+
it("should ignore optional strings set to false", async () => {
375+
expect(parse(["--cert=false"])).toEqual({})
376376
})
377377
})
378378

0 commit comments

Comments
 (0)