mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
fix(tests): update expected relay health state in unit test
This update aligns `tests/services/relay-health-service.test.mjs` with the actual state object structure used in `RelayHealthService`, which now includes `consecutiveFailures` and `lastUserLogAt` properties. This fixes a CI failure in the `agent-review` job. The previous fix for `tests/app-batch-fetch-profiles.test.mjs` (duplicate variable) is also included in this branch history. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
991d166254
commit
cfb395ff1a
1 file changed
+2
@@ -57,8 +57,10 @@ test("RelayHealthService: ensureRelayState creates default state", () => {
|
||||
connected: false,
|
||||
lastLatencyMs: null,
|
||||
errorCount: 0,
|
||||
consecutiveFailures: 0,
|
||||
lastCheckedAt: null,
|
||||
lastErrorAt: null,
|
||||
lastUserLogAt: null,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user