Add tests for react navigation behaviour #4819
Labels
📦 components
Related to the @swisspost/design-system-components package
Header
Everything related to our composible header components
When react is navigating to a new route, the header gets re-attached. To simulate this behaviour, we can do:
This, in combination with clicking on navigation links (preventing default link event), can be used to reproduce one of the trickier issues we faced.
The text was updated successfully, but these errors were encountered: