I always worked with Jest with React to test my applications. Now, I'm working in a project node (only cli commands) and I'm writting tests with Mocha.
My question is, when I write tests with Mocha I need to install Sinon to spy objects, and if I want to use should
I need to install Chai.
When I worked with Jest, I must install only jest and done. I decided to use Mocha, because is only cli commands and Lambdas to AWS. I want opinions about why is a good idea use Jest or Mocha (or another) in a node console application.
Thanks for this.
Aucun commentaire:
Enregistrer un commentaire