--test


版本历史
版本变更
v20.0.0

测试运行器现已稳定。

v19.2.0, v18.13.0

测试运行器现在支持在监视模式下运行。

v18.1.0, v16.17.0

新增于: v18.1.0, v16.17.0

启动 Node.js 命令行测试运行器。此标志不能与 --watch-path--check--eval--interactive 或检查器结合使用。有关详细信息,请参阅 从命令行运行测试 上的文档。

\Starts the Node.js command line test runner. This flag cannot be combined with --watch-path, --check, --eval, --interactive, or the inspector. See the documentation on running tests from the command line for more details.

AltStyle によって変換されたページ (->オリジナル) /