fix: appease tsc in test helpers

This commit is contained in:
Peter Steinberger
2026-01-18 18:54:59 +00:00
parent c50cde2170
commit 3cf92152c3

View File

@@ -281,7 +281,7 @@ vi.mock("../config/config.js", async () => {
? { ...testState.channelsConfig } ? { ...testState.channelsConfig }
: {}; : {};
const existing = baseChannels.whatsapp; const existing = baseChannels.whatsapp;
const mergedWhatsApp = const mergedWhatsApp: Record<string, unknown> =
existing && typeof existing === "object" && !Array.isArray(existing) existing && typeof existing === "object" && !Array.isArray(existing)
? { ...existing } ? { ...existing }
: {}; : {};