From 4e8d9d26a951eb2f70c50d7f51a41a38e1c3afae Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 05:39:56 +0100 Subject: [PATCH] test: dedupe wizard install plan mock read --- src/wizard/setup.finalize.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wizard/setup.finalize.test.ts b/src/wizard/setup.finalize.test.ts index da10fcb3547c..ae88d80a7769 100644 --- a/src/wizard/setup.finalize.test.ts +++ b/src/wizard/setup.finalize.test.ts @@ -179,7 +179,8 @@ function createWebSearchProviderEntry( function expectFirstOnboardingInstallPlanCallOmitsToken() { const [firstArg] = - (buildGatewayInstallPlan.mock.calls.at(0) as [Record] | undefined) ?? []; + (buildGatewayInstallPlan.mock.calls[0] as unknown as [Record] | undefined) ?? + []; if (!firstArg) { throw new Error("expected first onboarding install plan call"); }