When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

JavaScript Unit Testing with Jest
Unit testing is a vital part of software development. This course will teach you how to write unit tests for your JavaScript code using Jest.

This Course Includes
pluralsight
5 (75 reviews )
1 hour 38 minutes
english
Online - Self Paced
core courses
pluralsight
About JavaScript Unit Testing with Jest
Unit testing is sometimes neglected by software developers, but it is an essential part of a good developer’s skill set. In
this course, JavaScript Unit Testing with Jest, you’ll learn to
write unit tests for a range of JavaScript functions. First,
you’ll explore why unit testing is so important for creating
high quality software. Next, you’ll discover how to get
started writing simple JavaScript unit tests. Finally, you’ll
learn how to take your unit tests to the next level and
handle a range of scenarios you may encounter. When
you’re finished with this course, you’ll have the skills and
knowledge of Jest needed to write unit tests for all of your
JavaScript projects.
What You Will Learn?
- Course Overview : 1min.
- Writing Your First Unit Test with Jest : 24mins.
- Exploring Common Matchers : 27mins.
- Using Mocks : 20mins.
- Testing Asynchronous Code : 13mins.
- Measuring Code Coverage : 11mins.