Hacker News new | ask | show | jobs
by CoryG89 3488 days ago
We use usually use a mocha/chai/sinon combo for our testing. Can anyone that has used this make a comparison with that?

Looks like jest tries to cover all three.

1 comments

I was using that too, and switched over to Jest + Chai Assert. It was too difficult for me to replicate features like file watching, run only tests with changes for faster feedback loop, transpiling typescript and es6 in the same project, asset mocking, starting and stopping timers, etc. I only really used sinon.spy() so traded it for jest.fn().