mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
371 B
17 lines
371 B
13 years ago
|
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.
|