Closed shadowfish07 closed 2 years ago
Hi, thanks for the issue. This seems like more of an issue with how to integrate proxyquire and Sinon than an explicit bug in Sinon (at least I cannot see how this shows a bug in Sinon), so I am closing it, as it does not really belong on the bug tracker.
We are trying to keep the GitHub issues list tidy and focused on bugs and feature discussions. This ticket looks like a usage question; please post it to StackOverflow and tag it with sinon
, so the bigger community can help answer your questions.
If you feel that your topic is an issue with Sinon, please open a new ticket and follow the guidelines for reporting an issue.
my test code:
app/shell/test.js:
the output is:
it means
withArgs
is not working.However,if I do not use proxyquire:the output is:
So withArgs is working...