jest-codemods
jest-codemods copied to clipboard
Is Sinon actually incompatible with Jest?
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?