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.

L'utilizzo previsto della proprietà è di specificare un comando che esegue unit test o test di integrazione per il tuo programma.

Arguments after pnpm test are passed to the script:

pnpm test --watch