Skip to content

fix(dev): apply headers from route rules for static assets #6484

fix(dev): apply headers from route rules for static assets

fix(dev): apply headers from route rules for static assets #6484

Re-run triggered November 7, 2024 21:55
Status Failure
Total duration 1m 58s
Artifacts

ci.yml

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

Annotations

5 errors
test/presets/nitro-dev.test.ts > nitro:preset:nitro-dev > useStorage (with base): test/tests.ts#L476
AssertionError: expected { statusCode: 500, stack: [] } to be 'world' // Object.is equality - Expected: "world" + Received: Object { "stack": Array [], "statusCode": 500, } ❯ test/tests.ts:476:25
test/presets/nitro-dev.test.ts > nitro:preset:nitro-dev > static asset headers: test/presets/nitro-dev.test.ts#L33
AssertionError: expected { 'accept-ranges': 'bytes', …(8) } to match object { 'accept-ranges': 'bytes', …(9) } - Expected + Received Object { "accept-ranges": "bytes", "cache-control": "public, max-age=0", "connection": "keep-alive", "content-length": "7", "content-type": "text/plain; charset=UTF-8", "date": Any<String>, - "etag": "W/\"7-18df5a508c5\"", + "etag": "W/\"7-19308a09666\"", "keep-alive": "timeout=5", "last-modified": Any<String>, - "x-build-header": "works", } ❯ test/presets/nitro-dev.test.ts:33:45
ci (ubuntu-latest)
Process completed with exit code 1.
ci (windows-latest)
The job was canceled because "ubuntu-latest" failed.
ci (windows-latest)
The operation was canceled.