From e0365b3ed5cf94dfa4185d013d1954fd008881ed Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 19 Jan 2023 12:16:55 +0100 Subject: [PATCH] add store to mocks --- .../components/DecayInformations/CollapseLinksList.spec.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/components/DecayInformations/CollapseLinksList.spec.js b/frontend/src/components/DecayInformations/CollapseLinksList.spec.js index 68d5d427f..fddc00317 100644 --- a/frontend/src/components/DecayInformations/CollapseLinksList.spec.js +++ b/frontend/src/components/DecayInformations/CollapseLinksList.spec.js @@ -10,6 +10,12 @@ const mocks = { $tc: jest.fn((tc) => tc), $t: jest.fn((t) => t), $d: jest.fn((d) => d), + $store: { + state: { + firstName: 'Bibi', + lastName: 'Bloxberg', + }, + }, } const propsData = {