web/src/shared/utils/mockedStore.ts
import configureStore from 'redux-mock-store';
import MeState from '../../Home/types/MeState';
import HealthState from '../../health/types/HealthState';
import RootState from '../types/RootState';
const mockStore = configureStore();
const me: MeState = {
name: 'Hongbo Miao',
bio: 'Making magic happen',
};
const health: HealthState = {};
const initialState: RootState = { me, health };
const mockedStore = mockStore(initialState);
export default mockedStore;