Open
Description
The goal of this issue is to write some new tests or modify existing tests to improve coverage. There have been a series of routing bugs that may be related, and improved test coverage may have been able to prevent them. Multiple people can help work on this issue - just comment with what you are working on, and be sure to read through other people's comments.
To do:
- read through some of the issues below
- Write a test to help cover one of the problem areas
Past bug reports/issues:
- [Bug] <RouterService>#transitionTo incorrectly re-runs the the model hook when query params do not change #19497
- Redirecting a transition to same route with different query params does not work unless transition is aborted before #18577
- Router Service transitionTo breaks with Query Params on nested transition #17494
- Cannot read property 'name' of undefined when trying to set queryParams in beforeModel #17118
- RouterService forces model to refresh when queryParams unchanged #16349
- transitionTo queryParams on initial render still broken #14875
- Aborting a transition clears the resolved model #14721
- Query Params Reset to Default Values on Initial Render If transitionTo is called in beforeModel #12169
- QP only transition in beforeModel of application route throws error #11563