Javascript Mocha.js Sinon Stubbing Stubbing Window.location.href With Sinon January 13, 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