Changeset View
Changeset View
Standalone View
Standalone View
lib/utils/reducers-utils.test.js
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | defaultState = { | ||||
globalThemeInfo: defaultGlobalThemeInfo, | globalThemeInfo: defaultGlobalThemeInfo, | ||||
customServer: null, | customServer: null, | ||||
communityStore: { | communityStore: { | ||||
communityInfos: {}, | communityInfos: {}, | ||||
}, | }, | ||||
dbOpsStore: { | dbOpsStore: { | ||||
queuedOps: [], | queuedOps: [], | ||||
}, | }, | ||||
syncedMetadataStore: { | |||||
syncedMetadata: {}, | |||||
}, | |||||
}; | }; | ||||
state = { | state = { | ||||
...defaultState, | ...defaultState, | ||||
globalThemeInfo: { | globalThemeInfo: { | ||||
activeTheme: 'light', | activeTheme: 'light', | ||||
preference: 'light', | preference: 'light', | ||||
systemTheme: null, | systemTheme: null, | ||||
}, | }, | ||||
Show All 29 Lines |