|
|
@ -1,11 +1,9 @@ |
|
|
|
import 'react-native'; |
|
|
|
import initStore from '../src/redux/CreateStore'; |
|
|
|
import {appInit} from '../src/redux/actions/SystemActions'; |
|
|
|
import { APP_INIT } from '../src/redux/types/SystemTypes'; |
|
|
|
import configureMockStore from 'redux-mock-store'; |
|
|
|
import thunk from 'redux-thunk'; |
|
|
|
|
|
|
|
const flushPromises = () => new Promise(setImmediate); |
|
|
|
const middlewares = [thunk]; |
|
|
|
const mockStore = configureMockStore(middlewares); |
|
|
|
|
|
|
|