Skip to content

fix(error): strict security headers #6525

fix(error): strict security headers

fix(error): strict security headers #6525

Triggered via pull request November 27, 2024 17:56
@pi0pi0
synchronize #2907
fix/error-csp
Status Failure
Total duration 1m 55s
Artifacts

ci.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

12 errors
test/presets/aws-lambda.test.ts > nitro:preset:aws-lambda > handles errors: test/tests.ts#L388
AssertionError: expected { …(7) } to match object { connection: 'keep-alive', …(5) } (2 matching properties omitted from actual) - Expected + Received Object { - "connection": "keep-alive", "content-security-policy": "script-src 'none'; frame-ancestors 'none';", "content-type": "application/json", "referrer-policy": "no-referrer", "x-content-type-options": "nosniff", "x-frame-options": "DENY", } ❯ test/tests.ts:388:21
test/presets/aws-lambda.test.ts > nitro:preset:aws-lambda > handles errors: test/tests.ts#L388
AssertionError: expected { …(7) } to match object { connection: 'keep-alive', …(5) } (2 matching properties omitted from actual) - Expected + Received Object { - "connection": "keep-alive", "content-security-policy": "script-src 'none'; frame-ancestors 'none';", "content-type": "application/json", "referrer-policy": "no-referrer", "x-content-type-options": "nosniff", "x-frame-options": "DENY", } ❯ test/tests.ts:388:21
test/presets/bun.test.ts > nitro:preset:bun > handles errors: test/tests.ts#L388
AssertionError: expected { 'content-length': '107', …(8) } to match object { connection: 'keep-alive', …(5) } (4 matching properties omitted from actual) - Expected + Received Object { - "connection": "keep-alive", "content-security-policy": "script-src 'none'; frame-ancestors 'none';", "content-type": "application/json", "referrer-policy": "no-referrer", "x-content-type-options": "nosniff", "x-frame-options": "DENY", } ❯ test/tests.ts:388:21
test/presets/cloudflare-module-legacy.test.ts > nitro:preset:cloudflare-module > handles errors: test/tests.ts#L388
AssertionError: expected { …(7) } to match object { connection: 'keep-alive', …(5) } (2 matching properties omitted from actual) - Expected + Received Object { - "connection": "keep-alive", "content-security-policy": "script-src 'none'; frame-ancestors 'none';", "content-type": "application/json", "referrer-policy": "no-referrer", "x-content-type-options": "nosniff", "x-frame-options": "DENY", } ❯ test/tests.ts:388:21
test/presets/cloudflare-module.test.ts > nitro:preset:cloudflare-module > handles errors: test/tests.ts#L388
AssertionError: expected { …(7) } to match object { connection: 'keep-alive', …(5) } (2 matching properties omitted from actual) - Expected + Received Object { - "connection": "keep-alive", "content-security-policy": "script-src 'none'; frame-ancestors 'none';", "content-type": "application/json", "referrer-policy": "no-referrer", "x-content-type-options": "nosniff", "x-frame-options": "DENY", } ❯ test/tests.ts:388:21
test/presets/cloudflare-pages.test.ts > nitro:preset:cloudflare-pages > handles errors: test/tests.ts#L388
AssertionError: expected { …(7) } to match object { connection: 'keep-alive', …(5) } (2 matching properties omitted from actual) - Expected + Received Object { - "connection": "keep-alive", "content-security-policy": "script-src 'none'; frame-ancestors 'none';", "content-type": "application/json", "referrer-policy": "no-referrer", "x-content-type-options": "nosniff", "x-frame-options": "DENY", } ❯ test/tests.ts:388:21
test/presets/cloudflare-worker.test.ts > nitro:preset:cloudflare-worker > handles errors: test/tests.ts#L388
AssertionError: expected { …(7) } to match object { connection: 'keep-alive', …(5) } (2 matching properties omitted from actual) - Expected + Received Object { - "connection": "keep-alive", "content-security-policy": "script-src 'none'; frame-ancestors 'none';", "content-type": "application/json", "referrer-policy": "no-referrer", "x-content-type-options": "nosniff", "x-frame-options": "DENY", } ❯ test/tests.ts:388:21
test/presets/deno-server.test.ts > nitro:preset:deno-server > handles errors: test/tests.ts#L388
AssertionError: expected { 'content-encoding': 'gzip', …(9) } to match object { connection: 'keep-alive', …(5) } (5 matching properties omitted from actual) - Expected + Received Object { - "connection": "keep-alive", "content-security-policy": "script-src 'none'; frame-ancestors 'none';", "content-type": "application/json", "referrer-policy": "no-referrer", "x-content-type-options": "nosniff", "x-frame-options": "DENY", } ❯ test/tests.ts:388:21
test/presets/netlify-legacy.test.ts > nitro:preset:netlify-legacy > handles errors: test/tests.ts#L388
AssertionError: expected { …(7) } to match object { connection: 'keep-alive', …(5) } (2 matching properties omitted from actual) - Expected + Received Object { - "connection": "keep-alive", "content-security-policy": "script-src 'none'; frame-ancestors 'none';", "content-type": "application/json", "referrer-policy": "no-referrer", "x-content-type-options": "nosniff", "x-frame-options": "DENY", } ❯ test/tests.ts:388:21
test/presets/netlify.test.ts > nitro:preset:netlify > handles errors: test/tests.ts#L388
AssertionError: expected { …(6) } to match object { connection: 'keep-alive', …(5) } (1 matching property omitted from actual) - Expected + Received Object { - "connection": "keep-alive", "content-security-policy": "script-src 'none'; frame-ancestors 'none';", "content-type": "application/json", "referrer-policy": "no-referrer", "x-content-type-options": "nosniff", "x-frame-options": "DENY", } ❯ test/tests.ts:388:21
ci (windows-latest)
The job was canceled because "ubuntu-latest" failed.
ci (windows-latest)
The operation was canceled.