mirror of
https://github.com/xodio/xod.git
synced 2026-03-21 08:06:55 +01:00
fix(xod-client): fix test by wrapping state mock into defaultizeProject helper
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user