From c852ae28023e4cd5833492510ce8927a3c9f2b2c Mon Sep 17 00:00:00 2001 From: kamre Date: Mon, 4 Oct 2021 21:04:36 +0700 Subject: [PATCH] Views added to mocked store state. (#1434) --- webapp/src/components/viewHeader/viewHeader.test.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webapp/src/components/viewHeader/viewHeader.test.tsx b/webapp/src/components/viewHeader/viewHeader.test.tsx index 66f7e3e6c..d0d6f5171 100644 --- a/webapp/src/components/viewHeader/viewHeader.test.tsx +++ b/webapp/src/components/viewHeader/viewHeader.test.tsx @@ -33,6 +33,12 @@ describe('components/viewHeader/viewHeader', () => { cards: { templates: [card], }, + views: { + views: { + boardView: activeView, + }, + current: 'boardView', + }, } const store = mockStateStore([], state) test('return viewHeader', () => {