Cover wildcard If-Match support in array headers
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
3eb0abbc53
commit
965a21f973
1 file changed
+4
@@ -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", () => {
|
||||
|
||||
Reference in new issue
Block a user