Skip to main content
Version: 11.x

pnpm test

别名:run testttst

🌐 Aliases: run test, t, tst

运行包的 scripts 对象的 test 属性中指定的任意命令。

🌐 Runs an arbitrary command specified in the package's test property of its scripts object.

该属性的预期用途是指定一个运行程序单元测试或集成测试的命令。

🌐 The intended usage of the property is to specify a command that runs unit or integration testing for your program.