From b3c01a28c2eb1bf4b9b95786cfecc028641d4e08 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 5 Nov 2024 12:22:29 +0000 Subject: [PATCH] init variable --- packages/server/src/api/routes/tests/search.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/api/routes/tests/search.spec.ts b/packages/server/src/api/routes/tests/search.spec.ts index cbf91266dc..2da213cd38 100644 --- a/packages/server/src/api/routes/tests/search.spec.ts +++ b/packages/server/src/api/routes/tests/search.spec.ts @@ -54,6 +54,7 @@ jest.mock("@budibase/pro", () => ({ ai: { LargeLanguageModel: { forCurrentTenant: async () => ({ + initialised: true, run: jest.fn(() => `Mock LLM Response`), buildPromptFromAIOperation: jest.fn(), }),