jest-codemods icon indicating copy to clipboard operation
jest-codemods copied to clipboard

Is Sinon actually incompatible with Jest?

Open AllieCR opened this issue 1 year ago • 0 comments

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?

AllieCR avatar Dec 11 '23 21:12 AllieCR