Hello I'm trying to test the functions of local storage, so when I set the local storage from one value, for example 'foo' and in an if else
do something or another. But it never call it and I didn't really don't know how to test my values depends on what have the local storage has.
So how can I test it?
Any useful code would be great :)