Bassem Allani
Jun 1, 2021

--

Hello Clément, great article! However, with this "snapshot" approach, how can you be confident that the component is redirecting to the correct path?

I believe a better approach is to test that the `Redirect` component has been called with the correct parameters OR that the current history shows the correct location.

--

--

Bassem Allani
Bassem Allani

Written by Bassem Allani

👨‍✈️ Airline Pilot, 👨🏻‍💻 Software Engineer, 👨🏻‍🎨 Designer, 🪄 Magician & 🎵 Musician. https://nextglabs.com

Responses (1)