Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to Jest Testing - JavaScript Unit Tests

Dave Gray via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This introductory course teaches how to write and run JavaScript unit tests with Jest. Learners test several small functions and generate a code coverage report.

Syllabus

Intro
Welcome
Lesson Goal
Why Write Tests?
Quick Note
Install Node for npm
Checking your Node install
A Simple Function
Install Jest
Your First Unit Test
How to Run Tests
What is a Unit Test?
Testing a 2nd Function
Testing a 3rd Function
Drilling Down to a Single Responsibility
Generating a Coverage Report
Wrap up

Taught by

Dave Gray

Reviews

Start your review of Introduction to Jest Testing - JavaScript Unit Tests

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.