Skip to main content
Version: 4.x

pnpm test

Aliases: run test, t, tst

Runs a package's "test" script, if one was provided. This is just a shortcut to pnpm run test, so for more details you may read about pnpm run.


pnpm test [-r] [-- <args>...]


--recursive, -r#

Run the tests in every package found in subdirectories or every workspace package, when executed inside a workspace.

--filter <package_selector>#

Read more about filtering.

Last updated on by Zoltan Kochan