fix "x"
This commit is contained in:
@@ -127,6 +127,7 @@ test('security headers and no-store API caching are enabled', async () => {
|
||||
|
||||
assert.equal(response.status, 200);
|
||||
assert.match(response.headers.get('content-security-policy') || '', /default-src 'self'/);
|
||||
assert.match(response.headers.get('content-security-policy') || '', /script-src-attr 'none'/);
|
||||
assert.equal(response.headers.get('x-powered-by'), null);
|
||||
assert.equal(response.headers.get('cache-control'), 'no-store');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user