fix(gateway): land #28428 from @l0cka
Landed from contributor PR #28428 by @l0cka. Co-authored-by: Daniel Alkurdi <danielalkurdi@gmail.com>
This commit is contained in:
@@ -233,11 +233,8 @@ describe("finalizeOnboardingWizard", () => {
|
||||
});
|
||||
|
||||
expect(resolveGatewayInstallToken).toHaveBeenCalledTimes(1);
|
||||
expect(buildGatewayInstallPlan).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
token: undefined,
|
||||
}),
|
||||
);
|
||||
expect(buildGatewayInstallPlan).toHaveBeenCalledTimes(1);
|
||||
expect("token" in buildGatewayInstallPlan.mock.calls[0][0]).toBe(false);
|
||||
expect(gatewayServiceInstall).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -184,7 +184,6 @@ export async function finalizeOnboardingWizard(
|
||||
{
|
||||
env: process.env,
|
||||
port: settings.port,
|
||||
token: tokenResolution.token,
|
||||
runtime: daemonRuntime,
|
||||
warn: (message, title) => prompter.note(message, title),
|
||||
config: nextConfig,
|
||||
|
||||
Reference in New Issue
Block a user