Skip to content

chore: upgrade vitest #1148

chore: upgrade vitest

chore: upgrade vitest #1148

Triggered via pull request August 29, 2024 22:02
Status Failure
Total duration 2m 3s
Artifacts

pull_request.yml

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

Annotations

8 errors and 1 warning
build (20)
happy-dom#test: command (/home/runner/work/happy-dom/happy-dom/packages/happy-dom) /opt/hostedtoolcache/node/20.17.0/x64/bin/npm run test exited (1)
Unhandled error: packages/happy-dom/test/fetch/Request.test.ts#L796
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ Timeout._onTimeout test/fetch/Request.test.ts:796:30 ❯ listOnTimeout node:internal/timers:581:17 ❯ processTimers node:internal/timers:519:7 This error originated in "test/fetch/Request.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "Supports window.happyDOM?.waitUntilComplete().". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
test/browser/BrowserFrame.test.ts > BrowserFrame > goto() > Handles error status code in response.: packages/happy-dom/test/browser/BrowserFrame.test.ts#L308
AssertionError: expected '' to be '404 error' // Object.is equality - Expected + Received - 404 error ❯ test/browser/BrowserFrame.test.ts:308:58
build (20)
Process completed with exit code 1.
build (22)
The job was canceled because "_20" failed.
build (22)
The operation was canceled.
build (18)
The job was canceled because "_20" failed.
build (18)
The operation was canceled.
build (20)
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/