Skip to content

chore: add tests

chore: add tests #84

Triggered via push December 10, 2025 12:08
Status Success
Total duration 21s
Artifacts

unit-test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Unhandled error: src/index.ts#L606
ReplaneError: Required configs not found: config2 ❯ refreshConfigs src/index.ts:606:11 ❯ Object.next src/index.ts:624:9 ❯ Object.next src/index.ts:981:33 ❯ Subject.next src/index.ts:997:16 ❯ src/index.ts:962:19 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'not_found' } This error originated in "tests/index.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/index.ts#L722
ReplaneError: Replane client initialization timed out ❯ Timeout._onTimeout src/index.ts:722:7 ❯ listOnTimeout node:internal/timers:605:17 ❯ processTimers node:internal/timers:541:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'timeout' } This error originated in "tests/index.spec.ts" 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 update overrides via config_updated event". 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.
Unhandled error: src/index.ts#L606
ReplaneError: Required configs not found: requiredConfig ❯ refreshConfigs src/index.ts:606:11 ❯ Object.next src/index.ts:624:9 ❯ Object.next src/index.ts:981:33 ❯ Subject.next src/index.ts:997:16 ❯ src/index.ts:962:19 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'not_found' } This error originated in "tests/index.spec.ts" 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 not delete required configs when delete event is received". 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.