How to spy on localStorage methods with jasmine
Suppose I have a JavaScript code: function modifiesLocalStorage() { var someBoolean = false; if(localStorage.getItem('someKey') === 'true'){ localStorage.removeItem('someKey'); someBoo...