diff --git a/apps/t3/src/cli.test.ts b/apps/t3/src/cli.test.ts index 47aac941ba..d5a37530f5 100644 --- a/apps/t3/src/cli.test.ts +++ b/apps/t3/src/cli.test.ts @@ -1041,6 +1041,10 @@ describe("ifMatchSatisfied", () => { it("supports array-valued headers", () => { expect(ifMatchSatisfied(["\"foo\"", "\"abc\""], "\"abc\"")).toBe(true); }); + + it("supports wildcard in array-valued headers", () => { + expect(ifMatchSatisfied(["\"foo\"", "*"], "\"abc\"")).toBe(true); + }); }); describe("ifModifiedSinceSatisfied", () => {