diff options
Diffstat (limited to 'deps/npm/doc/api/npm-test.md')
-rw-r--r-- | deps/npm/doc/api/npm-test.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/deps/npm/doc/api/npm-test.md b/deps/npm/doc/api/npm-test.md new file mode 100644 index 0000000000..bc48dcc35f --- /dev/null +++ b/deps/npm/doc/api/npm-test.md @@ -0,0 +1,16 @@ +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. |