npm-test(3)

npm-test3

Test a package

Usage

  npm.commands.test(packages, callback)

Overview

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.

From npm 1.4.21+ds-2 in Debian 8 (Jessie). Parsed by carta from the page's man source.