--test


启动 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.