Javascript Mocha.js Sinon Stubbing Stubbing Window.location.href With Sinon December 26, 2023 Post a Comment I am trying to test some client-side code and for that I need to stub the value of window.location.… Read more Stubbing Window.location.href With Sinon