Closed maxkoryukov closed 7 years ago
@tbranyen could you take a look on this problem (and related PR: #47)
I am using fork as a workaround for current issue.
If you have doubts does this problem really exist - I could send you tiny test case (I think, it could become another one test case)
Here: https://github.com/A/superagent-mocker/blob/master/index.js#L98
Such code:
If you will try to use it with
mocha
andexpect
you will get callback doublecall, trying to assert in callback.If this repo is alive - I could send a test case (not ready right now), and, probably, a PR