import { IState } from "@emeraldwallet/store" ; export function createTestStore ( state ? ) { return { dispatch ( ) { } , subscribe ( ) { return ( ) => { } ; } , replaceReducer ( ) { } , getState ( ) { return state || { } ; } } ; }