Description
When we updated the jest version the urlextractor tests were no longer working. The reason is that we tried to use window.location in the tests and in angular. Which is not the preferred way. We want to use the angular router instead. This leads to a bigger rewrite of the initialload and urlextractor component.
Goal of this task is to rewrite the old solution and use angular router instead.
Description
When we updated the jest version the urlextractor tests were no longer working. The reason is that we tried to use window.location in the tests and in angular. Which is not the preferred way. We want to use the angular router instead. This leads to a bigger rewrite of the initialload and urlextractor component.
Goal of this task is to rewrite the old solution and use angular router instead.