Skip to content
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

Is Sinon actually incompatible with Jest? #551

Open
AllieCR opened this issue Dec 11, 2023 · 0 comments
Open

Is Sinon actually incompatible with Jest? #551

AllieCR opened this issue Dec 11, 2023 · 0 comments

Comments

@AllieCR
Copy link

AllieCR commented Dec 11, 2023

When I tried using the mocha codemod I saw this message logged:

Usage of package "sinon" might be incompatible with Jest; it's recommended the sinon transformer is run first

But I've seen forum comments where people say that it is fine to use Sinon with Jest, also Jest actually uses parts of Sinon, and I've only seen mention of one Sinon method test which has caused problems with Jest. On top of that, I can't find the method test mentioned in the Sinon docs.

Can anyone let me know how they understand Sinon to be incompatible with Jest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant