From c7bb036e9d3cf2383d9e16794e339211427a0d5d Mon Sep 17 00:00:00 2001 From: NeilLuptonMoJ Date: Tue, 30 Aug 2022 09:17:46 +0100 Subject: [PATCH] update helmet test snapshots remove `expect-ct` - https://github.com/helmetjs/helmet/issues/310 remove `block-all-mixed-content` - https://github.com/helmetjs/helmet/commit/3874c6b66d634bf46680c6e2fc20fa7bd4629f9b --- server/routes/index.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/routes/index.test.ts b/server/routes/index.test.ts index d8748e190..640012a7a 100644 --- a/server/routes/index.test.ts +++ b/server/routes/index.test.ts @@ -40,7 +40,6 @@ describe('check response headers are set correctly', () => { 'content-security-policy': expect.any(String), 'content-type': 'text/plain; charset=utf-8', date: expect.any(String), - 'expect-ct': 'max-age=0', location: '/probation-practitioner/dashboard', 'referrer-policy': 'no-referrer', 'strict-transport-security': 'max-age=15552000; includeSubDomains', @@ -66,7 +65,6 @@ describe('check response headers are set correctly', () => { "img-src 'self' https://www.google-analytics.com", "connect-src 'self' https://www.google-analytics.com", "base-uri 'self'", - "block-all-mixed-content", "form-action 'self'", "frame-ancestors 'self'", "object-src 'none'",