summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli/npm-test.md
blob: c2267082dfbe986fd5e699b749457185cd0a2c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
npm-test(1) -- Test a package
=============================

## SYNOPSIS

      npm test [-- <args>]
      npm tst [-- <args>]

## 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.

## SEE ALSO

* npm-run-script(1)
* npm-scripts(7)
* npm-start(1)
* npm-restart(1)
* npm-stop(1)