[test] Update test code to make them compatible with node
Do not spy XMLHttpRequest, as it is node 100% compatible between node and browser. Spy ajax calls instead. Do not rely on storage not available in node (like localstorage).
Showing
Please register or sign in to comment