Views added to mocked store state. (#1434)

This commit is contained in:
kamre 2021-10-04 21:04:36 +07:00 committed by GitHub
parent c34e3de24e
commit c852ae2802
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,12 @@ describe('components/viewHeader/viewHeader', () => {
cards: { cards: {
templates: [card], templates: [card],
}, },
views: {
views: {
boardView: activeView,
},
current: 'boardView',
},
} }
const store = mockStateStore([], state) const store = mockStateStore([], state)
test('return viewHeader', () => { test('return viewHeader', () => {