-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please consider an API that is more consistent with sinon #75
Comments
Not sure in how far I can accommodate you here due to time constraints on my side but—what would be a more consistent API that satisfies everything we can do right now, e.g. track instances, allow for custom post-processing code etc.? |
Ok. I have time constraints as well and sinon-helpers has helped me a great deal! Thanks! I can't sketch the full API but some points strike me as odd compared to sinon:
But on the other hand I hope that |
I finally found some time to rework things. I got rid of Feel free to open a new issue if you have more ideas. |
Looks good to me, thanks! I'll try to migrate to v2 when I next have to touch the stubbed tests. |
👍 Should also be a little faster now with reduced memory footprint and no longer has any dependencies |
Hi!
I've just found out about this while searching for a workaround for sinonjs/sinon#1265
This repairs my tests after switching from a factory function to ES6 classes, however I notice that the API you offer is inconsistent with the way stubs are generally used in sinon.
That, or maybe someone could implement the sinon ticket (which is way over my head). ;)
The text was updated successfully, but these errors were encountered: