---
type: video
yt_id: VVU2YVRMdUlfajQtMHdpRFN6bWFQY3RRLmh6MF9xMU1KYTJr
videoId: hz0_q1MJa2k
title: "Unit Testing in Javascript | Writing Automated Tests With Jest"
date: "2021-03-06T22:07:07Z"
slug: "unit-testing-in-javascript-writing-automated-tests-with-jest"
image: 
  name: "unit-testing-in-javascript-writing-automated-tests-with-jest.jpg"
  alt: "Unit Testing in Javascript | Writing Automated Tests With Jest"
  width: 1280
  height: 720
status: 'published'
description: "Learn why we write automated tests and how to write automated unit tests in JavaScript using the jest test framework. "
tags: ['JavaScript', 'js', 'tdd', 'test driven development', 'unit testing']
---

Learn why we write automated tests and how to write automated unit tests in JavaScript using the jest test framework. 

🔗TDD: 
[https://youtu.be/89Pl2Uok8xc](https://youtu.be/89Pl2Uok8xc)

🔗Code:
[https://github.com/Sam-Meech-Ward/automated_tests_jest](https://github.com/Sam-Meech-Ward/automated_tests_jest)


