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

## SYNOPSIS

      npm test [-- <args>]

      aliases: t, tst

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