<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/migrating-away-from-jest-and-achieving-over-90-reduction-in-running-time-kqbxnfms7" -->

---
title: Migrating away from Jest and achieving over 90%...
description: The post describes the author&#x27;s experience of migrating from Jest to Mocha and achieving over 90% reduction in running time. The author shares the drawbacks of...
canonical: https://daily.dev/posts/migrating-away-from-jest-and-achieving-over-90-reduction-in-running-time-kqbxnfms7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Migrating away from Jest and achieving over 90% reduction in running time | daily.dev
og:description: The post describes the author&#x27;s experience of migrating from Jest to Mocha and achieving over 90% reduction in running time. The author shares the drawbacks of...
og:url: https://daily.dev/posts/migrating-away-from-jest-and-achieving-over-90-reduction-in-running-time-kqbxnfms7
og:image: https://api.daily.dev/og/posts/kQBXNfmS7.png
og:image:alt: Migrating away from Jest and achieving over 90% reduction in running time
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrating away from Jest and achieving over 90% reduction in running time

**[Community Picks](https://daily.dev/sources/community)** · 4 min read · 10 upvotes · 1 comments

## Summary

The post describes the author's experience of migrating from Jest to Mocha and achieving over 90% reduction in running time. The author shares the drawbacks of using Jest and highlights the faster performance of Mocha.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://patrickrbc.com/2024/03/16/jest-slow-tests>

## Community discussion

Top comments from developers on daily.dev.

**@axelerated** · 0 upvotes

> Who's gonna tell him about bun?
>
> (And I know it's not on feature parity with Jest, yet.)

---

Tags: [#performance](https://daily.dev/tags/performance), [#testing](https://daily.dev/tags/testing), [#nodejs](https://daily.dev/tags/nodejs), [#jest](https://daily.dev/tags/jest)

[View this post on daily.dev](https://daily.dev/posts/migrating-away-from-jest-and-achieving-over-90-reduction-in-running-time-kqbxnfms7)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Migrating away from Jest and achieving over 90% reduction in running time","url":"https://daily.dev/posts/migrating-away-from-jest-and-achieving-over-90-reduction-in-running-time-kqbxnfms7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/migrating-away-from-jest-and-achieving-over-90-reduction-in-running-time-kqbxnfms7"},"datePublished":"2024-03-18T23:00:53.989Z","dateModified":"2024-05-09T08:16:28.624Z","description":"The post describes the author's experience of migrating from Jest to Mocha and achieving over 90% reduction in running time. The author shares the drawbacks of...","image":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","thumbnailUrl":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/migrating-away-from-jest-and-achieving-over-90-reduction-in-running-time-kqbxnfms7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":10},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"performance,testing,nodejs,jest","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Migrating away from Jest and achieving over 90% reduction in running time"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/migrating-away-from-jest-and-achieving-over-90-reduction-in-running-time-kqbxnfms7","comment":[{"@type":"Comment","text":"Who’s gonna tell him about bun?\n(And I know it’s not on feature parity with Jest, yet.)","datePublished":"2024-03-19T04:18:41.643Z","url":"https://daily.dev/posts/kQBXNfmS7#c-WOOMGUBS8","author":{"@type":"Person","name":"Axel Möllerberg","url":"https://daily.dev/axelerated","image":"https://avatars3.githubusercontent.com/u/343422?v=4"}}]}
```

