Skip to content

fix initial load of tests #2957

fix initial load of tests

fix initial load of tests #2957

Triggered via push January 23, 2025 20:38
Status Failure
Total duration 2m 54s
Artifacts

node.js.yml

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

Annotations

4 errors and 1 warning
Unhandled error: src/services/Server/WebSocketClient.js#L96
ReferenceError: WebSocket is not defined ❯ WebSocketClient.open src/services/Server/WebSocketClient.js:96:26 ❯ Timeout._onTimeout src/services/Server/WebSocketClient.js:80:55 ❯ listOnTimeout node:internal/timers:569:17 ❯ processTimers node:internal/timers:512:7 This error originated in "src/services/Editor/Editor.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes: - cancel timeouts using clearTimeout and clearInterval - wait for promises to resolve using the await keyword
build (18)
Process completed with exit code 1.
build (20)
The job was canceled because "_18" failed.
build (20)
The operation was canceled.
build (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636