Add a helper to spy on window.location
The window.location interface is read only in newer versions of jest. This breaks our manual mocks / spys on that interface. With a helper which replaces `window.location` with a mocked interface we are able to circumvent that problem.
Showing
Please register or sign in to comment