fix(xod-client): fix test by wrapping state mock into defaultizeProject helper

This commit is contained in:
Kirill Shumilov
2018-02-19 19:08:43 +03:00
parent 4e510b7957
commit 7f7539db0f

View File

@@ -26,7 +26,7 @@ const testStore = state => createStore(
describe('Editor reducer', () => {
describe('selecting entities', () => {
const mockState = {
project: {
project: defaultizeProject({
authors: [
'Test Person',
],
@@ -89,7 +89,7 @@ describe('Editor reducer', () => {
comments: {},
},
},
},
}),
editor: {
currentTabId: '@/1',
mode: EDITOR_MODE.DEFAULT,