![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/.nvm/versions/node/v14.18.1/lib/node_modules/npm/docs/content/cli-commands/ |
--- section: cli-commands title: npm-test description: Test a package --- # npm-test(1) ## 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](/cli-commands/npm-run-script) * [npm scripts](/using-npm/scripts) * [npm start](/cli-commands/npm-start) * [npm restart](/cli-commands/npm-restart) * [npm stop](/cli-commands/npm-stop)