mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 07:37:39 +00:00

PR-URL: https://github.com/nodejs/node/pull/35908 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
26 lines
407 B
Markdown
26 lines
407 B
Markdown
---
|
|
title: npm-test
|
|
section: 1
|
|
description: Test a package
|
|
---
|
|
|
|
### Synopsis
|
|
|
|
```bash
|
|
npm test [-- <args>]
|
|
|
|
aliases: t, tst
|
|
```
|
|
|
|
### Description
|
|
|
|
This runs a package's "test" script, if one was provided.
|
|
|
|
### See Also
|
|
|
|
* [npm run-script](/commands/npm-run-script)
|
|
* [npm scripts](/using-npm/scripts)
|
|
* [npm start](/commands/npm-start)
|
|
* [npm restart](/commands/npm-restart)
|
|
* [npm stop](/commands/npm-stop)
|