Skip to content

feat(tests): replace mocha with vitest #891

feat(tests): replace mocha with vitest

feat(tests): replace mocha with vitest #891

Triggered via pull request July 30, 2025 12:39
Status Failure
Total duration 13m 59s
Artifacts

main.yml

on: pull_request
Matrix: build-splicer
Matrix: build
test-example
44s
test-example
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 6 notices
test (23.10.0, macos-latest, debug)
Process completed with exit code 1.
test (23.10.0, ubuntu-latest, release)
Process completed with exit code 1.
test (23.10.0, windows-latest, release)
Process completed with exit code 1.
test (23.10.0, windows-latest, debug)
Process completed with exit code 1.
test (23.10.0, ubuntu-latest, weval)
Process completed with exit code 1.
test/test.js > Builtins > error-async: src/componentize.js#L352
Error: Failed to initialize component: /bin/sh: 1: /home/runner/work/ComponentizeJS/ComponentizeJS/node_modules/@bytecodealliance/weval/x86_64-linux/weval: Text file busy ❯ componentize src/componentize.js:352:11 ❯ test/test.js:36:29
test (23.10.0, macos-latest, weval)
Process completed with exit code 1.
test/test.js > Builtins > performance: test/builtins/performance.js#L26
Error: took more than half a millisecond - 25.375255584716797 ms ❯ test test/builtins/performance.js:26:11 ❯ test/test.js:85:9
test (23.10.0, windows-latest, weval)
Process completed with exit code 1.
test/test.js > Builtins > error-async: test/test.js#L28
Error: Test timed out in 120000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/test.js:28:10
test/test.js > Builtins > crypto-random: test/test.js#L28
Error: Test timed out in 120000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/test.js:28:10
test/test.js > Builtins > crypto-random-disabled: test/test.js#L28
Error: Test timed out in 120000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/test.js:28:10
test/test.js > Builtins > console-simple: test/test.js#L28
Error: Test timed out in 120000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/test.js:28:10
test/test.js > Builtins > console-object: test/test.js#L28
Error: Test timed out in 120000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/test.js:28:10
test (23.10.0, macos-latest, release)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
test (23.10.0, macos-latest, release)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
test (23.10.0, macos-latest, debug)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
test (23.10.0, macos-latest, debug)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
test (23.10.0, macos-latest, weval)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
test (23.10.0, macos-latest, weval)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520