Jest

Showing 1-2 of 2 results

Share

Working With TypeScript and Jest Support: An AWS SAM Tutorial

JavaScript boilerplate is easy enough to come by, but there’s a bit more to starting AWS SAM projects with TypeScript. Here’s how to create an AWS SAM TypeScript project from scratch with Jest support.

10 minute readContinue Reading
Mohammad Faisal

Mohammad Faisal

Test-driven React.js Development: React.js Unit Testing with Enzyme and Jest

Any piece of code that has no tests is said to be legacy code according to Michael Feathers. Therefore, one of the best ways to avoid creating legacy code is using test-driven development (TDD).

While there are many tools available to create unit tests in JavaScript, in this post, we will use Jest and Enzyme to create a React.js component with basic functionality using TDD.

7 minute readContinue Reading
Alonso Ayala Ortega

Alonso Ayala Ortega

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Join the Toptal® community.