From bb50bd2fd5563c15d9eaeb90a6eb9565cf6e52ee Mon Sep 17 00:00:00 2001 From: Laila Los <44241786+ElectronicBlueberry@users.noreply.github.com> Date: Wed, 14 Feb 2024 14:08:51 +0100 Subject: [PATCH] fix mock in Attributes test --- client/src/components/Workflow/Editor/Attributes.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/components/Workflow/Editor/Attributes.test.js b/client/src/components/Workflow/Editor/Attributes.test.js index 2f477bca6b9f..f195e4622725 100644 --- a/client/src/components/Workflow/Editor/Attributes.test.js +++ b/client/src/components/Workflow/Editor/Attributes.test.js @@ -20,8 +20,11 @@ const autocompleteTags = ["#named_uer_tag", "abc", "my_tag"]; jest.mock("@/stores/userTagsStore"); useUserTagsStore.mockReturnValue({ userTags: computed(() => autocompleteTags), - addLocalTag: jest.fn(), + onNewTagSeen: jest.fn(), + onTagUsed: jest.fn(), + onMultipleNewTagsSeen: jest.fn(), }); + describe("Attributes", () => { it("test attributes", async () => { const localVue = createLocalVue();