From 6548b2e23c94d8813de02bf0c442c0489e48a068 Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Sun, 4 Oct 2026 14:36:34 +0100 Subject: [PATCH] Type both Diagnostics response fixtures explicitly The full-export response includes populated identity arrays, so its route fixture must not inherit the empty response's never-array inference. Keep both payload shapes type-checked without suppressing compiler diagnostics. Contract-Neutral: Integration fixture typing only; no runtime, API, permissions or product contract change. Change-source: pulse-maintainer --- tests/integration/tests/69-diagnostics-onboarding.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { const traffic: DiagnosticsTraffic = { reads: 0, writes: [] }; page.on("request", (request) => {