# Migrating 500+ tests from Mocha to Node.js

DevFeed: [Migrating 500+ tests from Mocha to Node.js](<https://devfeed.tech/articles/migrating-500-tests-from-mocha-to-node-js-3329.md>)

Original publisher: [Read original article](<https://astro.build/blog/node-test-migration/>)

Author: Emanuele Stoppa; Bjorn Lu

Published: 2024-03-25T00:00:00Z

Content type: article

Language: en

Sources: [The Astro Blog](<https://devfeed.tech/sources/the-astro-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [migration](<https://devfeed.tech/topics/migration.md>), [ci](<https://devfeed.tech/topics/ci.md>)

Tags: [astro](<https://devfeed.tech/tags/astro.md>), [ci](<https://devfeed.tech/tags/ci.md>), [cli](<https://devfeed.tech/tags/cli.md>), [migration](<https://devfeed.tech/tags/migration.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [performance](<https://devfeed.tech/tags/performance.md>), [retrospective](<https://devfeed.tech/tags/retrospective.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

Astro recounts migrating more than 500 test suites from Mocha to Node.js's built-in test runner, evaluating CI speed, configurability, and developer experience.

## Source excerpt

A retrospective of how Astro migrated more than 500 test suites from Mocha to Node.js test runner.