please forgive me if there is a duplicate.
I know MemoryRouter has initialEntries and initialIndex, so you can set path and etc for "location" and "history". However "match" is not getting updated... I need to set "match" for my react app and Jest tests.
When I try,
<MemoryRouter initialEntries={['/hello']} initialIndex={0}>
<Hello store={store} />
</MemoryRouter>
I am getting
match: { path: '/', url: '/', params: {} ... },
location: { path: '/hello', pathname: '/', ... },
history: { ..., location: { path: '/hello', pathname: '/', ... }}
I wonder if there is a way to set match. Thanks in advance.