jameslnewell / xhr-mock

Utility for mocking XMLHttpRequest.
196 stars 48 forks source link

Is not working with mocha #24

Closed ayxos closed 7 years ago

ayxos commented 7 years ago

I am doing a sync xhr call with mocha-sinon and i am not able to run it properly. Any idea?

jameslnewell commented 7 years ago

Sorry, sync xhr no longer works. See the discussion on here https://github.com/jameslnewell/xhr-mock/pull/23. Let me know if you have any further issues.

jameslnewell commented 7 years ago

Note: I think I've changed from sync to async at some stage without making a major version bump. Apologies if that's the case!