verdnatura-chat/app/reducers/mockedStore.ts

8 lines
267 B
TypeScript
Raw Normal View History

2022-01-24 20:12:36 +00:00
import { applyMiddleware, compose, createStore } from 'redux';
import createSagaMiddleware from 'redux-saga';
import reducers from '.';
const enhancers = compose(applyMiddleware(createSagaMiddleware()));
export const mockedStore = createStore(reducers, enhancers);