diff --git a/tests/unit/public-response-cache-codec.test.ts b/tests/unit/public-response-cache-codec.test.ts index 5d5d8573..5c3dc7a1 100644 --- a/tests/unit/public-response-cache-codec.test.ts +++ b/tests/unit/public-response-cache-codec.test.ts @@ -157,6 +157,13 @@ describe("public cache codec and response validation (characterization)", () => expect(await stageCode([valid], response({ pragma: "no-cache" }))).toBe( "POLICY_REJECTED", ); + // 2026-11-01 02-04 (N26b, N26). Each directive or header on its own. + expect( + await stageCode([valid], response({ "cache-control": "no-cache" })), + ).toBe("POLICY_REJECTED"); + expect( + await stageCode([valid], response({ "set-cookie": "session=1" })), + ).toBe("POLICY_REJECTED"); expect( await stageCode([valid], response({ "www-authenticate": "Basic" })), ).toBe("POLICY_REJECTED");