Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Type both Diagnostics response fixtures explicitly

pulse-triage[bot]6548b2e23c94
diff --git a/tests/integration/tests/69-diagnostics-onboarding.spec.ts b/tests/integration/tests/69-diagnostics-onboarding.spec.ts
index a6b01273c4..6852c0833f 100644
--- a/tests/integration/tests/69-diagnostics-onboarding.spec.ts
+++ b/tests/integration/tests/69-diagnostics-onboarding.spec.ts
@@ -345,7 +345,8 @@ const test = base.extend<{}, WorkerFixtures>({
async function prepareDiagnosticsRoute(
page: Page,
- payload = DIAGNOSTICS_PAYLOAD,
+ payload: typeof DIAGNOSTICS_PAYLOAD | typeof EXPORT_DIAGNOSTICS_PAYLOAD =
+ DIAGNOSTICS_PAYLOAD,
): Promise<DiagnosticsTraffic> {
const traffic: DiagnosticsTraffic = { reads: 0, writes: [] };
page.on("request", (request) => {