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:
Joe Previte 2022-02-24 11:07:42 -07:00 committed by GitHub
parent f9402a6318
commit 793e4d35ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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", () => {