Skip to content

fix: [1706] Handle non string values gracefully for removeAttribute o… #1373

fix: [1706] Handle non string values gracefully for removeAttribute o…

fix: [1706] Handle non string values gracefully for removeAttribute o… #1373

Triggered via pull request January 29, 2025 09:37
Status Failure
Total duration 2m 55s
Artifacts

pull_request.yml

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

Annotations

6 errors
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#L3648
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:3648:21
build (18)
happy-dom#test: command (/home/runner/work/happy-dom/happy-dom/packages/happy-dom) /opt/hostedtoolcache/node/18.20.5/x64/bin/npm run test exited (1)
build (18)
Process completed with exit code 1.
build (22)
The job was canceled because "_18" failed.
build (22)
@happy-dom/integration-test#test: command (/home/runner/work/happy-dom/happy-dom/packages/integration-test) /opt/hostedtoolcache/node/22.13.0/x64/bin/npm run test exited (1)
build (22)
The operation was canceled.