aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/__tests__/ducks/tutils.js
blob: 211b61e3b0103d0399ab1f39060ba5cefac7ccad (plain)
1
2
3
4
5
6
7
8
9
10
11
import { combineReducers, applyMiddleware, createStore as createReduxStore } from 'redux'
import thunk from 'redux-thunk'

export function createStore(parts) {
    return createReduxStore(
        combineReducers(parts),
        applyMiddleware(...[thunk])
    )
}

export { default as TFlow } from './_tflow'