4 ms·
For testing, you can wrap your component in <MemoryRouter> and that will work just fine (including links and redirects, for example).
by danabramov 10y ago
For testing, you can wrap your component in <MemoryRouter> and that will work just fine (including links and redirects, for example).