import { applyMiddleware, compose, createStore } from 'redux';
import createSagaMiddleware from 'redux-saga';

import reducers from '.';

const enhancers = compose(applyMiddleware(createSagaMiddleware()));

export const createMockedStore = () => createStore(reducers, enhancers);

export const mockedStore = createMockedStore();
