fix: [#1577] Event.target should be the target element after dispatching event #1331
Annotations
3 errors and 1 warning
Test:
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
|
Test
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)
|
Test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading