---
title: "Discussion on \"Migrating from Jest to Vitest\" | Hashnode"
description: "Discussion on \"Migrating from Jest to Vitest\". I recently migrated from create-react-app (CRA) to ViteJS, and as part of that, I switched my test runner from Jest to Vitest.\nIn this article, I go through all the steps I took as part of the migration, in the hope that it might help others who are ..."
url: "https://hashnode.com/posts/migrating-from-jest-to-vitest/628e25f819bda58ac7fb0e9f"
---

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

Discussion

# [Migrating from Jest to Vitest](https://cathalmacdonnacha.com/migrating-from-jest-to-vitest?utm_source=hashnode&utm_medium=feed)

I recently migrated from create-react-app (CRA) to ViteJS, and as part of that, I switched my test runner from Jest to Vitest. In this article, I go through all the steps I took as part of the migration, in the hope that it might help others who are ...

May 25, 2022 · 4 min read · cathalmacdonnacha.com  
Updated Nov 27, 2024  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#jest](https://hashnode.com/tag/jest)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#create-react-app](https://hashnode.com/tag/create-react-app)

## Written by

[Cathal Mac Donnacha](https://hashnode.com/@cathalmacdonnacha)

@cathalmacdonnacha · Ireland 🇮🇪

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

Follow me on my journey as I write about tech topics I face in my everyday life as a Frontend Developer 💻

## Responses 1

Markdown supported · ⌘↵ to post

[Vincent Peres](https://hashnode.com/@vincentp)

[Jul 5, 2023](https://hashnode.com/posts/migrating-from-jest-to-vitest/628e25f819bda58ac7fb0e9f/comment/64a571bb896f16032d8ce048)

I plan to migrate soon. Any thought about the interactive CLI that CRA is providing the run tests (filter, watch etc.)? Is there something similar with vitest or an external plugin? Thanks!
