#node:test
cenobite, a hardened test runner with single-process isolation built on node:test:

github.com/boneskull/ce...
GitHub - boneskull/cenobite: A hardened test runner using Secure EcmaScript (SES)
A hardened test runner using Secure EcmaScript (SES) - boneskull/cenobite
github.com
October 10, 2025 at 9:46 PM
Well, first off, there are *at least three* commonly used things today that in some way intentionally violate no-floating-promises by design: Fastify, node:test, and RTK. So, clearly, at least some influential parts of the community disagrees with this. 😏

3/🧵
September 13, 2024 at 1:52 PM
アドベントカレンダーの季節が終わったのでnode:testで使える組み込みのスナップショットテスト(--experimental-test-snapshots)を紹介します。自分の結論としてはTSで使うならVitestでいいや
zenn.dev/kesin11/arti...
`node:test` のスナップショットテスト(--experimental-test-snapshots)を試す
zenn.dev
December 26, 2024 at 7:28 AM
jsprimer
node:utilのparseArgsとnode:testに対応しましたー "Node.jsでCLIアプリ · JavaScript Primer #jsprimer" https://jsprimer.net/use-case/nodecli/
August 3, 2024 at 1:43 PM
node:test --shard もサポートしてるのか。
July 28, 2023 at 6:14 AM
Did you move an existing test suite or was it node:test from the beginning?
February 24, 2025 at 2:11 AM
書きました!!

`node:test`にSnapshot Testingが実装された
"2024-06-13のJS: Storybook 8.1、Turborepo 2.0、Node v22.3.0(Snapshot Testing) - JSer.info" https://jser.info/2024/06/13/storybook-8.1-turborepo-2.0-node-v22.3.0snapshot-testing/
June 13, 2024 at 5:16 AM
見てる: "[node:test] Infinite loop occurs when `files` is empty · Issue #48823 · nodejs/node" https://github.com/nodejs/node/issues/48823
July 28, 2023 at 6:03 AM
<a href="https://zenn.dev/kesin11/articles/20241130_node_test_snapshot" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link" target="_blank" rel="noopener" data-link="bsky">zenn.dev/kesin11/ar...
`node:test` のスナップショットテスト(--experimental-test-snapshots)を試す
`node:test` のスナップショットテスト(--experimental-test-snapshots)を試す
zenn.dev
December 30, 2024 at 12:47 PM
Node.js v23.1.0リリース。
`Buffer`が`ArrayBuffer`のresizeに対応、`node:test`のMockTimersをStableになるなど "Node.js — Node v23.1.0 (Current)" https://nodejs.org/en/blog/release/v23.1.0 #nodejs #ReleaseNote
October 26, 2024 at 11:37 AM
Created and release a custom reporter for `node:test` that includes jest-diff based assertion diffs and a mocha spec reporter style output: https://github.com/voxpelli/node-test-pretty-reporter
GitHub - voxpelli/node-test-pretty-reporter: Reporter for node:test that supports colorful diffs etc
Reporter for node:test that supports colorful diffs etc - GitHub - voxpelli/node-test-pretty-reporter: Reporter for node:test that supports colorful diffs etc
github.com
July 24, 2023 at 8:08 AM
Trying to build a cross-runtime test suite that works on Node.js, Bun, and Deno, but hitting a roadblock with Bun's incomplete `node:test` implementation. Missing subtests/test steps support is making this harder than it should be.
Support the `node:test` built-in API · Issue #5090 · oven-sh/bun
What is the problem this feature would solve? As part of evaluating/migrating to bun from node, it is cumbersome to use both node:test and bun:test at the same time. What is the feature you are pro...
github.com
June 23, 2025 at 11:18 AM
これもやりたい。テストフレームワークのためのテストフレームワークとして使えるはず "textlint-tester: move to `node:test` from mocha · Issue #1339 · textlint/textlint" https://github.com/textlint/textlint/issues/1339
January 30, 2024 at 3:25 PM
Bun에서 `node:test` 모듈을 쓸 수 있긴 한데, 모든 기능을 다 제공하는 건 아니라서 이것에 의존하기가 어렵다. (적어도 내가 돌리려는 테스트는.)
May 25, 2025 at 4:32 AM
I enabled the recommended type-checked typescript-eslint rules in a project using the Node.js test runner (`node:test` built-in package) and learned that the `describe` and `it` functions return `Promise` 🫤 Found this great issue from @joshuakgoldberg.com 💙
node:test APIs returning Promises clashes with no-floating-promises lint rule · Issue #51292 · nodejs/node
Version 21.5.0 Platform n/a Subsystem node:test What steps will reproduce the bug? Write code that calls a describe, it, or test function imported from node:test Lint that code with @typescript-esl...
github.com
August 2, 2025 at 7:34 PM
hmmm might get everything moved over from Bun to Node.js because it seems weird having a mixed Bun/Node.js monorepo

chai + node:test seems ok enough, and i could use the --experimental-transform-types to get Node.js to transform enums/const enums
February 3, 2025 at 2:17 PM
Node.js 22をmin versionにすると、TypeScriptのライブラリを書くのに必要なdevDepsが実質typescriptのみできる。 "refactor: move from mocha to node:test by azu · Pull Request #7 · azu/eventmit" https://github.com/azu/eventmit/pull/7
January 12, 2025 at 12:26 AM
tsxってnode:test のtest runnerに対応してるんだ "Node.js enhancement | tsx" https://tsx.is/node-enhancement#test-runner
August 25, 2024 at 4:07 AM
Let's pour one out for uvu: a very nice test runner for Node.

It was extremely useful for us when we needed something simple and fast, but now it's time for us to move to node:test.

Thanks uvu! And many thanks to it's creator @lukeed.bsky.social!

github.com/lit/lit/pull...
[labs/analyzer] Convert uvu tests to node:test by justinfagnani · Pull Request #5071 · lit/lit
This is a large change by line count, but it was all fairly mechanical. I verified that the same number of tests run and pass after the conversion. Before was 17 node:test, 437 uvu. After 454 node:...
github.com
August 27, 2025 at 10:12 PM
Node.js v22.2.0リリース。
fs.globが`withFileTypes`をサポート、`--inspect-wait=host:port`をサポート、`--experimental-policy`を削除。
`node:test`に`test.plan`メソッドの追加など "Node.js — Node v22.2.0 (Current)" https://nodejs.org/en/blog/release/v22.2.0 #nodejs #ReleaseNote
May 16, 2024 at 3:05 PM
Mocking in node:test feels super smooth.
I've been doing mocks for testing for 15+ years and this is the easiest it has ever felt.
March 15, 2025 at 12:13 AM
Spending some time today sprucing up a library by replacing mocha/chai/sinon with the built in node:test and node:assert.

I like having less dependencies! Still working through muscle memory of new apis though.
November 15, 2024 at 4:27 PM
Whatever you do, don't be tempted to use node:test
December 20, 2024 at 4:08 PM
Mocha/Chaiから`node:test`/`node:assert`へテストを移行した話 "Migrating 500+ tests from Mocha to Node.js | Astro" https://astro.build/blog/node-test-migration/ #nodejs #JavaScript #testing #article
April 10, 2024 at 3:38 PM
A good reason to use node:test is that you can focus on upgrading your runtime, instead of upgrading dependencies.
June 23, 2025 at 6:38 AM