import React from 'react'; import { createMemoryHistory } from 'history'; import storeFactory from 'app/storeFactory'; import ContextProvider from './ContextProvider'; type ContextProps = React.ComponentProps; function TestContextProvider( props: Partial & { children: ContextProps['children'] }, ) { const store = React.useMemo(storeFactory, []); const history = React.useMemo(createMemoryHistory, []); return ; } export default TestContextProvider;