[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
This diff is collapsed.
Please register or sign in to comment