4 ms·
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 thre
by CoryG89 10y 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.
- aj0strow 10y agoI 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().