pnpm test

Aliases: t, tst

Equivalent to pnpm run 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.

Arguments after pnpm test are passed to the script:

pnpm test --watch