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.

testプロパティは、あなたのプログラムのユニットテストや結合テストを実行するコマンドを指定するために使用します。

Arguments after pnpm test are passed to the script:

pnpm test --watch