Skip to content

chore: refactor createRoom to allow dependency injection #15

chore: refactor createRoom to allow dependency injection

chore: refactor createRoom to allow dependency injection #15

Triggered via push December 6, 2024 04:54
Status Failure
Total duration 17s
Artifacts

unit-tests.yml

on: push
Unit Tests
8s
Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
ReferenceError: Cannot access 'getKeyPair' before initialization.: packages/main/src/config.ts#L39
at /home/runner/work/homeserver/homeserver/packages/main/src/config.ts:39:23
ReferenceError: Cannot access 'config' before initialization.: packages/main/src/routes/fake/room.ts#L341
at /home/runner/work/homeserver/homeserver/packages/main/src/routes/fake/room.ts:341:39
ReferenceError: Cannot access 'config' before initialization.: packages/main/src/signJson.ts#L33
at /home/runner/work/homeserver/homeserver/packages/main/src/signJson.ts:33:30
ReferenceError: Cannot access 'app' before initialization.: packages/main/src/routes/key/server.spec.ts#L7
at /home/runner/work/homeserver/homeserver/packages/main/src/routes/key/server.spec.ts:7:21 at /home/runner/work/homeserver/homeserver/packages/main/src/routes/key/server.spec.ts:6:33
Unit Tests
Process completed with exit code 1.
Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636