Jest vs Mocha: What are the differences?
I released two React hooks on npm:
use-wizard, to handle multi-paths, multi-steps wizards
use-formidable, to handle big nested forms (cause we all know how painful they are.)
GitHub Link: https://github.com/use-wizard
Any advice on what I should do first to improve/bundle the packages? (At the moment, I have no linter, no minifier, no compression, no webpack; I went straight to the features and unit tests)
I am bundling it with commonjs, should I also bundle it for ECMA modules?
If anyone wants to join, you're more than welcome; this is beginner-friendly as there are many things to do anyway.
As we all know testing is an important part of any application. To assist with our testing we are going to use both Cypress and Jest. We feel these tools complement each other and will help us get good coverage of our code. We will use Cypress for our end to end testing as we've found it quite user friendly. Jest will be used for our unit tests because we've seen how many larger companies use it with great success.
We use Mocha for our FDA verification testing. It's integrated into Meteor, our upstream web application framework. We like how battle tested it is, its' syntax, its' options of reporters, and countless other features. Most everybody can agree on mocha, and that gets us half-way through our FDA verification and validation (V&V) testing strategy.
Sign up to add or upvote prosMake informed product decisions
Sign up to add or upvote consMake informed product decisions
What is Jest?
What is Mocha?
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions