test: speed up whatsapp setup surface

This commit is contained in:
Peter Steinberger
2026-04-07 12:08:56 +01:00
parent ee55350450
commit b1255b0e0b

View File

@@ -6,7 +6,6 @@ import {
createQueuedWizardPrompter,
runSetupWizardFinalize,
} from "../../../test/helpers/plugins/setup-wizard.js";
import { whatsappSetupPlugin } from "./channel.setup.js";
import { whatsappSetupWizard } from "./setup-surface.js";
const hoisted = vi.hoisted(() => ({
@@ -57,7 +56,11 @@ function createRuntime(): RuntimeEnv {
}
const whatsappGetStatus = createPluginSetupWizardStatus({
...whatsappSetupPlugin,
id: "whatsapp",
meta: {
label: "WhatsApp",
},
setupWizard: whatsappSetupWizard,
} as never);
async function runFinalizeWithHarness(params: {