verdnatura-chat/app/reducers/mockedStore.ts

8 lines
267 B
TypeScript
Raw Normal View History

2021-12-21 20:04:32 +00:00
import { applyMiddleware, compose, createStore } from 'redux';
import createSagaMiddleware from 'redux-saga';
import reducers from '.';
2021-12-21 20:04:32 +00:00
2021-12-21 20:14:08 +00:00
const enhancers = compose(applyMiddleware(createSagaMiddleware()));
2021-12-21 20:04:32 +00:00
export const mockedStore = createStore(reducers, enhancers);