Use sinon fakeXmlHttpRequest.
Change out the custom synchronous XHR to use sinon's fake XHR. This allows to decide exactly when to respond to XHRs.
Showing
3 changed files
with
1958 additions
and
132 deletions
libs/sinon/sinon-server-1.9.0.js
0 → 100644
-
Please register or sign in to post a comment