Closed orbiteleven closed 8 years ago
Thanks! I hadn't thought about using it for tests running in node.
Yeah, for sure! Trying to do browser-less tests (i.e. no PhantomJS, JSDOM, etc.) for some stuff around XHR. Thanks for the rest of the work; this lib seems to do the trick!
When testing directly on node,
window
doesn't exist. https://github.com/Raynos/global provides a good fallback for this.