Jest error when set or assign window.location
问题 Upgraded Jest library on v25 and all unit tests that were checking location change are failing. I checked a couple of issues opened on jest repo but I didn't actually understood how can this be fixed. The code that calls location.assign breaks with following error: Error: Not implemented: navigation (except hash changes) 69 | // window.location.href = url; > 70 | window.location.assign(url); I suppose that Jest jsdom window object shouldn't be treated anymore like a real browser window in