All files / src/store store.mock.js

100% Statements 10/10
100% Branches 0/0
100% Functions 1/1
100% Lines 8/8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 185x 5x 5x   5x   5x 5x     11x           5x  
// @flow
import createStore from 'redux-mock-store'
import thunkMiddleware from 'redux-thunk'
 
import {middleware as fetch} from '../fetch'
 
import multi from './multi'
import promise from './promise'
 
export default function configureStore (rootReducer, initialState) {
  return createStore([
    fetch,
    multi,
    promise,
    thunkMiddleware
  ])(initialState)
}