-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
After recent upgrade jest (which uses jsdom in background) from version 21.2.0 to 22.0.6 I have started getting error: "Error: Not implemented:" navigation
My code relies on window.location and I use in tests:
beforeEach(() => {
window.location.href = `/ms/submission/?mybib`;
window.location.search = '?mybib';
});
Is there a way to define a value of window.location.search using new version of jsdom?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels