JavaScript Testing 
Here are 6 awesome frameworks and utilities to test your JavaScript code.
Jest
Mocha
Jasmine
Enzyme
Protractor
Cypress


Here are 6 awesome frameworks and utilities to test your JavaScript code.
Jest
Mocha
Jasmine
Enzyme
Protractor
Cypress
JestBy far the most popular general-purpose JavaScript Testing Framework.
Works for most projects, most frameworks, and libraries and has great support for TypeScript and Babel. https://jestjs.io/
MochaMocha is another popular choice for general-purpose testing in JavaScript and Node.js applications.
https://mochajs.org/
JasmineJasmine is a behavior-driven Testing Framework for JavaScript.
It's easy to get started and easy to use.
https://jasmine.github.io/
EnzymeEnzyme is a JavaScript Testing utility specifically built for testing React Components.
It's massively adopted in the React community and is often used in combination with Jest.
https://enzymejs.github.io/enzyme/
ProtractorProtractor is an end-to-end Testing Framework for Angular Applications and is often used together with Jasmine.
https://www.protractortest.org/
CypressCypress is a complete end-to-end Testing Framework for JavaScript.
It's using its own test-runner and has certain syntax similarities with Enzyme.
It has become really popular and is a true pleasure to work with
https://www.cypress.io/
Read on Twitter