---
title: "Discussion on \"Mocha and Chai Unit Testing(node js)\" | Hashnode"
description: "Discussion on \"Mocha and Chai Unit Testing(node js)\". Let's start by understanding unit testing and why you need to test your code before deploying to production!\nUnit Testing - It is a form of testing where individual components of the codebase are tested before deploying. To verify that each piece of ..."
url: "https://hashnode.com/posts/mocha-and-chai-unit-testingnode-js/639305d8475aad3d6ae79221"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mocha and Chai Unit Testing(node js)](https://shreyashbuilds.hashnode.dev/mocha-and-chai-unit-testingnode-js?utm_source=hashnode&utm_medium=feed)

Let's start by understanding unit testing and why you need to test your code before deploying to production! Unit Testing - It is a form of testing where individual components of the codebase are tested before deploying. To verify that each piece of ...

Dec 9, 2022 · 2 min read · shreyashbuilds.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#testing](https://hashnode.com/tag/testing)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)

## Written by

[Shreyash Pingle](https://hashnode.com/@shrey23)

@shrey23

  
[View profile](https://hashnode.com/@shrey23)

20 y/o. build

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
