---
title: "Discussion on \"Unit testing reducer functions with Jest\" | Hashnode"
description: "Discussion on \"Unit testing reducer functions with Jest\". We mostly check if our app is working as it is intended to in the UI. If the UI breaks, we would know that there is something wrong with our logic. But what if we could do this without breaking the UI?\nYes, this is where we could use testing. It tell..."
url: "https://hashnode.com/posts/unit-testing-reducer-functions-with-jest/60cf22fdc6377540dd2395a2"
---

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

Discussion

# [Unit testing reducer functions with Jest](https://janaki2399.hashnode.dev/unit-testing-reducer-functions-with-jest?utm_source=hashnode&utm_medium=feed)

We mostly check if our app is working as it is intended to in the UI. If the UI breaks, we would know that there is something wrong with our logic. But what if we could do this without breaking the UI? Yes, this is where we could use testing. It tell...

Jun 20, 2021 · 3 min read · janaki2399.hashnode.dev  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#jest](https://hashnode.com/tag/jest)

## Written by

[Janaki S](https://hashnode.com/@Janaki23)

@Janaki23 · India

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

Software Engineer

Building and breaking things in web

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
