Node.js 24 · Scripts and testing

Run only matching tests

Run tests whose names match a pattern.

node --test --test-name-pattern="login"

Official Node.js 24 documentation

More scripts and testing commands

All scripts and testing commands · Node.js 24 cheatsheet

Was this page helpful?