Skip to content

Commit

Permalink
update helmet test snapshots
Browse files Browse the repository at this point in the history
remove `expect-ct` - helmetjs/helmet#310
remove `block-all-mixed-content` - helmetjs/helmet@3874c6b
  • Loading branch information
NeilLuptonMoJ committed Aug 30, 2022
1 parent f9e95e5 commit c13f4eb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/routes/index.test.ts
Expand Up @@ -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',
Expand All @@ -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'",
Expand Down

0 comments on commit c13f4eb

Please sign in to comment.