All files / src/store store.production.js

100% Statements 13/13
75% Branches 3/4
100% Functions 2/2
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 215x               10x 3x                   5x  
import {browserHistory} from 'react-router'
import {routerMiddleware} from 'react-router-redux'
import {applyMiddleware, createStore} from 'redux'
 
import {middleware as fetch} from '../fetch'
import multi from './multi'
import promise from './promise'
 
export default function configureStore (rootReducer, initialState) {
  return createStore(
    rootReducer,
    initialState,
    applyMiddleware(
      routerMiddleware(browserHistory),
      fetch,
      multi,
      promise
    )
  )
}