Skip to content

chore(test): add runtime and metrics tests #14

chore(test): add runtime and metrics tests

chore(test): add runtime and metrics tests #14

Triggered via pull request January 2, 2025 14:26
Status Failure
Total duration 47s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 1 warning, and 1 notice
runtime is running: web/backend/web/backend/test/routes/root.test.ts#L15
[Error [ERR_TEST_FAILURE]: spawn /home/runner/work/watt-admin/watt-admin/web/backend/fixtures/watt/node_modules/.bin/wattpm ENOENT] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: Error: spawn /home/runner/work/watt-admin/watt-admin/web/backend/fixtures/watt/node_modules/.bin/wattpm ENOENT at ChildProcess._handle.onexit (node:internal/child_process:285:19) at onErrorNT (node:internal/child_process:483:16) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/runner/work/watt-admin/watt-admin/web/backend/fixtures/watt/node_modules/.bin/wattpm', path: '/home/runner/work/watt-admin/watt-admin/web/backend/fixtures/watt/node_modules/.bin/wattpm', spawnargs: [ 'start' ] } }
metrics with runtime: web/backend/web/backend/test/plugins/metrics.test.ts#L15
[Error [ERR_TEST_FAILURE]: spawn /home/runner/work/watt-admin/watt-admin/web/backend/fixtures/watt/node_modules/.bin/wattpm ENOENT] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: Error: spawn /home/runner/work/watt-admin/watt-admin/web/backend/fixtures/watt/node_modules/.bin/wattpm ENOENT at ChildProcess._handle.onexit (node:internal/child_process:285:19) at onErrorNT (node:internal/child_process:483:16) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/runner/work/watt-admin/watt-admin/web/backend/fixtures/watt/node_modules/.bin/wattpm', path: '/home/runner/work/watt-admin/watt-admin/web/backend/fixtures/watt/node_modules/.bin/wattpm', spawnargs: [ 'start' ] } }
ci
Process completed with exit code 1.
ci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ci
TypeScript: compilation complete (1977ms) Total Tests: 4 Suites 📂: 0 Passed ✅: 2 Failed ❌: 2 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2250.622ms