fix: [#1577] Event.target should be the target element after dispatching event #1331
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#L4114
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:4114:21
|
build (22)
happy-dom#test: command (/home/runner/work/happy-dom/happy-dom/packages/happy-dom) /opt/hostedtoolcache/node/22.12.0/x64/bin/npm run test exited (1)
|
build (22)
Process completed with exit code 1.
|
build (18)
The job was canceled because "_22" failed.
|
build (18)
The operation was canceled.
|
build (20)
The job was canceled because "_22" failed.
|
build (20)
The operation was canceled.
|
build (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|