Skip to main content
Version: 9.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.