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
This commit is contained in:
pulse-triage[bot]
2026-10-04 14:36:34 +01:00
parent 09455d69a6
commit 6548b2e23c
@@ -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) => {