onlytestsinthisblockwillberun}) 或者,您可以使用mocha的grep选项来仅运行符合给定正则表达式模式的测试: $npmtest----grepchild_process 包含本机模块(例如runas