Agreed with that! Because Jest pretty much covers most of the functionalities by itself and it is not as flexible like others :)
Mocha and Sinon makes a good combination too!
you should also mention proxyquire since sinon does not cover everything. Mocking 3rd party deps is easy with jest, however requires some tinkering with sinon. Sadly...
Well, I guess nobody is perfect :) Basically, I stick with Jest for the initial setup, and will combine with other libraries when necessary
In my experience that works well. I just got paranoid with the recent supply chain attacks 😂
Some comments have been hidden by the post's author - find out more
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Agreed with that! Because Jest pretty much covers most of the functionalities by itself and it is not as flexible like others :)
Mocha and Sinon makes a good combination too!
you should also mention proxyquire since sinon does not cover everything.
Mocking 3rd party deps is easy with jest, however requires some tinkering with sinon.
Sadly...
Well, I guess nobody is perfect :) Basically, I stick with Jest for the initial setup, and will combine with other libraries when necessary
In my experience that works well. I just got paranoid with the recent supply chain attacks 😂