0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/deps/npm/doc/api/npm-test.md
2013-07-12 08:56:26 -07:00

371 B

npm-test(3) -- Test a package

SYNOPSIS

  npm.commands.test(packages, callback)

DESCRIPTION

This runs a package's "test" script, if one was provided.

To run tests as a condition of installation, set the npat config to true.

npm can run tests on multiple packages. Just specify multiple packages in the packages parameter.