fix: [#1586] Prevent always wrapping the URL in quotation marks when set in style #1240
Annotations
7 errors and 1 warning
test/fetch/Fetch.test.ts > Fetch > send() > Revalidates cache with a "If-Modified-Since" request for a GET response with "Cache-Control" set to a "max-age".:
packages/happy-dom/test/fetch/Fetch.test.ts#L3928
AssertionError: expected { 'content-type': 'text/html', …(3) } to deeply equal { 'content-type': 'text/html', …(3) }
- Expected
+ Received
Object {
- "Cache-Control": "max-age=1",
- "Last-Modified": "Mon, 11 Dec 2023 02:00:00 GMT",
+ "cache-control": "max-age=0.01",
"content-length": "9",
"content-type": "text/html",
+ "last-modified": "Mon, 11 Dec 2023 01:00:00 GMT",
}
❯ test/fetch/Fetch.test.ts:3928:21
|
build (22)
happy-dom#test: command (/home/runner/work/happy-dom/happy-dom/packages/happy-dom) /opt/hostedtoolcache/node/22.10.0/x64/bin/npm run test exited (1)
|
build (22)
Process completed with exit code 1.
|
build (20)
The job was canceled because "_22" failed.
|
build (20)
The operation was canceled.
|
build (18)
The job was canceled because "_22" failed.
|
build (18)
The operation was canceled.
|
build (22)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|