Using TypeScript with Jest

Learn how to test TypeScript source code and write test code in TypeScript in this lesson.

Installing and configuring TypeScript

The starter project for this lesson contains source code and tests written in TypeScript in the src folder. We’ll recognize the validEmailDomain function from previous lessons.

TypeScript can be installed by running the following in a terminal:

 ...
Access this course and 1400+ top-rated courses and projects.