Cover wildcard If-Match support in array headers

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 04:33:35 +00:00
1 parent 3eb0abbc53
commit 965a21f973
1 file changed
+4
+4
View File
@@ -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", () => {