knee-cola / jest-mock-axios

Axios mock for Jest
252 stars 42 forks source link

Implement an empty axios.CancelToken interface #32

Closed VanTanev closed 5 years ago

VanTanev commented 5 years ago

Actually taking this to a full implementation shouldn't be too hard, but the tests around it are somewhat more complicated than I wanted to deal with.

closes #30

VanTanev commented 5 years ago

It's past midnight over here, will add fixes tomorrow

VanTanev commented 5 years ago

@kingjan1999 ready for review

kingjan1999 commented 5 years ago

Thank you very much! I've just merged the pull request after changing the target branch from master to develop. It will be merged into master when I release 3.0.0, which will be soon (hopefully), after I've fixed #31 (very soon) and #1 (soon).