Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use Jest for stubbing modules rather than Sinon #744

Open
mcmire opened this issue Mar 23, 2022 · 0 comments
Open

Use Jest for stubbing modules rather than Sinon #744

mcmire opened this issue Mar 23, 2022 · 0 comments

Comments

@mcmire
Copy link
Contributor

mcmire commented Mar 23, 2022

Jest provides a built-in means of stubbing modules, and it works just as well as Sinon. There really should be no reason to use Sinon (aside from perhaps stubbing timers).

@mcmire mcmire mentioned this issue Mar 23, 2022
49 tasks
@mcmire mcmire changed the title Use Jest for stubbing modules rather than Sinon. Use Jest for stubbing modules rather than Sinon Mar 23, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants