diff --git a/src/gateway/test-helpers.mocks.ts b/src/gateway/test-helpers.mocks.ts index b98aad469..36c25897b 100644 --- a/src/gateway/test-helpers.mocks.ts +++ b/src/gateway/test-helpers.mocks.ts @@ -281,7 +281,7 @@ vi.mock("../config/config.js", async () => { ? { ...testState.channelsConfig } : {}; const existing = baseChannels.whatsapp; - const mergedWhatsApp = + const mergedWhatsApp: Record = existing && typeof existing === "object" && !Array.isArray(existing) ? { ...existing } : {};