Skip to content

refactor: tests to vitest #263

refactor: tests to vitest

refactor: tests to vitest #263

Triggered via pull request December 14, 2025 21:16
@CherryCherry
synchronize #105
refactor/tests
Status Failure
Total duration 1m 1s
Artifacts

test.yml

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

Annotations

7 errors and 24 warnings
Node 22 macOS-latest Test
Process completed with exit code 1.
test/output.mjs > spawnpoint.log > should output Test: test/output.mjs#L38
Error: Test timed out in 10000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/output.mjs:38:4
Unhandled error: test/output.mjs#L50
AssertionError: expected '[Sunday, December 14 2025]\n[21:16] […' to match /^\[\d{2}:\d{2}] \[LOG]: Test\n$/ ❯ Socket.<anonymous> test/output.mjs:50:20 This error originated in "test/output.mjs" 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 "should output Test". 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.
Node 24 windows-latest Test
The strategy configuration was canceled because "test.macOS-latest_22" failed
Node 24 windows-latest Test
The operation was canceled.
Node 22 windows-latest Test
The strategy configuration was canceled because "test.macOS-latest_22" failed
Node 22 windows-latest Test
The operation was canceled.
Node 24 macOS-latest Test: test/process-void/voidBridge.js#L6
Prefer `EventTarget` over `EventEmitter`
Node 24 macOS-latest Test: lib/spawnpoint.js#L1115
Do not assign `this` to `self`
Node 24 macOS-latest Test: lib/spawnpoint.js#L650
Do not assign `this` to `self`
Node 24 macOS-latest Test: lib/spawnpoint.js#L26
Prefer `EventTarget` over `EventEmitter`
Node 24 ubuntu-latest Test: test/process-void/voidBridge.js#L6
Prefer `EventTarget` over `EventEmitter`
Node 24 ubuntu-latest Test: lib/spawnpoint.js#L1115
Do not assign `this` to `self`
Node 24 ubuntu-latest Test: lib/spawnpoint.js#L650
Do not assign `this` to `self`
Node 24 ubuntu-latest Test: lib/spawnpoint.js#L26
Prefer `EventTarget` over `EventEmitter`
Node 22 ubuntu-latest Test: test/process-void/voidBridge.js#L6
Prefer `EventTarget` over `EventEmitter`
Node 22 ubuntu-latest Test: lib/spawnpoint.js#L1115
Do not assign `this` to `self`
Node 22 ubuntu-latest Test: lib/spawnpoint.js#L650
Do not assign `this` to `self`
Node 22 ubuntu-latest Test: lib/spawnpoint.js#L26
Prefer `EventTarget` over `EventEmitter`
Node 22 macOS-latest Test: test/process-void/voidBridge.js#L6
Prefer `EventTarget` over `EventEmitter`
Node 22 macOS-latest Test: lib/spawnpoint.js#L1115
Do not assign `this` to `self`
Node 22 macOS-latest Test: lib/spawnpoint.js#L650
Do not assign `this` to `self`
Node 22 macOS-latest Test: lib/spawnpoint.js#L26
Prefer `EventTarget` over `EventEmitter`
Node 24 windows-latest Test: test/process-void/voidBridge.js#L6
Prefer `EventTarget` over `EventEmitter`
Node 24 windows-latest Test: lib/spawnpoint.js#L1115
Do not assign `this` to `self`
Node 24 windows-latest Test: lib/spawnpoint.js#L650
Do not assign `this` to `self`
Node 24 windows-latest Test: lib/spawnpoint.js#L26
Prefer `EventTarget` over `EventEmitter`
Node 22 windows-latest Test: test/process-void/voidBridge.js#L6
Prefer `EventTarget` over `EventEmitter`
Node 22 windows-latest Test: lib/spawnpoint.js#L1115
Do not assign `this` to `self`
Node 22 windows-latest Test: lib/spawnpoint.js#L650
Do not assign `this` to `self`
Node 22 windows-latest Test: lib/spawnpoint.js#L26
Prefer `EventTarget` over `EventEmitter`