From f42b4ced46ca2f8c3da0a0de7e7b97aacc82b6bc Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 5 Nov 2024 12:02:56 +0000 Subject: [PATCH] lint + tests --- packages/server/src/utilities/rowProcessor/tests/utils.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/utilities/rowProcessor/tests/utils.spec.ts b/packages/server/src/utilities/rowProcessor/tests/utils.spec.ts index 41f9befc1a..3638b62892 100644 --- a/packages/server/src/utilities/rowProcessor/tests/utils.spec.ts +++ b/packages/server/src/utilities/rowProcessor/tests/utils.spec.ts @@ -18,6 +18,7 @@ jest.mock("@budibase/pro", () => ({ ai: { LargeLanguageModel: { forCurrentTenant: async () => ({ + initialised: true, run: jest.fn(() => "response from LLM"), buildPromptFromAIOperation: buildPromptMock, }),