---
title: "Discussion on \"Test APIs with Supertest and Jest\" | Hashnode"
description: "Discussion on \"Test APIs with Supertest and Jest\". Hello everyone! Last week, as I was writing my Let's Build a Node.js API Series, I learned from a reader that testing MVC APIs using Supertest and Jest is a good idea.\nhttps://twitter.com/taimoorsattar7/status/1290557929641455616?ref_src=twsrc%5Etfw\n..."
url: "https://hashnode.com/posts/test-apis-with-supertest-and-jest/5f348a226082071a9b87d743"
---

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

Discussion

# [Test APIs with Supertest and Jest](https://blog.lo-victoria.com/test-apis-with-supertest-and-jest?utm_source=hashnode&utm_medium=feed)

Hello everyone! Last week, as I was writing my Let's Build a Node.js API Series, I learned from a reader that testing MVC APIs using Supertest and Jest is a good idea. https://twitter.com/taimoorsattar7/status/1290557929641455616?ref\_src=twsrc%5Etfw ...

Aug 13, 2020 · 4 min read · blog.lo-victoria.com  
Updated Jul 22, 2024  
Read the article

-   [#jest](https://hashnode.com/tag/jest)
-   [#npm](https://hashnode.com/tag/npm)
-   [#rest-api](https://hashnode.com/tag/rest-api)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Victoria Lo](https://hashnode.com/@victoria)

@victoria · Singapore

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

A nerd in books, tea, games and software.

I'm a solutions engineer lead, GitHub Star, Director of WomenDevsSG, and co founder of ragTech. I work at the intersection of tech, systems, and leadership, and this blog is where I share my journey through all three. Expect honest reflections, real experiences, and thoughts that are still forming rather than polished career advice.

## Responses 2

Markdown supported · ⌘↵ to post

[Stephen Odogwu](https://hashnode.com/@Stevepurpose)

[May 27, 2023](https://hashnode.com/posts/test-apis-with-supertest-and-jest/5f348a226082071a9b87d743/comment/647225aab13fcf8ee2b47414)

Nice article you wrote. Just that I have never seen expect written in this format without a matcher. Maybe I should dig deeper into jest

[Bolaji Ayodeji](https://hashnode.com/@bolajiayodeji)

[Aug 13, 2020](https://hashnode.com/posts/test-apis-with-supertest-and-jest/5f348a226082071a9b87d743/comment/5f352edb0cc1ad2cc6776a54)

Victoria with another great article as always. I'm honestly in love with your blog 🤩

[Victoria Lo](https://hashnode.com/@victoria)

[Aug 13, 2020](https://hashnode.com/posts/test-apis-with-supertest-and-jest/5f348a226082071a9b87d743/comment/5f352edb0cc1ad2cc6776a54#reply-5f354ca90cc1ad2cc6776c6c)

Thank you so much Bolaji! Your support means so much to me!
