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.

Tujuan penggunaan properti ini adalah untuk menentukan perintah yang menjalankan pengujian integrasi unit atau untuk program Anda.

Arguments after pnpm test are passed to the script:

pnpm test --watch