mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 21:07:01 -06:00
test: dedupe wizard install plan mock read
This commit is contained in:
@@ -179,7 +179,8 @@ function createWebSearchProviderEntry(
|
||||
|
||||
function expectFirstOnboardingInstallPlanCallOmitsToken() {
|
||||
const [firstArg] =
|
||||
(buildGatewayInstallPlan.mock.calls.at(0) as [Record<string, unknown>] | undefined) ?? [];
|
||||
(buildGatewayInstallPlan.mock.calls[0] as unknown as [Record<string, unknown>] | undefined) ??
|
||||
[];
|
||||
if (!firstArg) {
|
||||
throw new Error("expected first onboarding install plan call");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user