Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2020-07-21 02:11:38 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2020-07-30 01:34:46 +0300
commitbd080ea129f0d4160bfcd77516892ba50ff6d4ad (patch)
tree1c1e33ccc68b45f0e993964586afdd8429e8bc3f /test/lib/restart.js
parentd2821b74b7de0b5c578ab0a770c9a8945d1c16bf (diff)
tests for start, stop, restart
Diffstat (limited to 'test/lib/restart.js')
-rw-r--r--test/lib/restart.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lib/restart.js b/test/lib/restart.js
new file mode 100644
index 000000000..f705d5f60
--- /dev/null
+++ b/test/lib/restart.js
@@ -0,0 +1,5 @@
+const t = require('tap')
+const restart = require('../../lib/restart.js')
+t.isa(restart, Function)
+t.equal(restart.completion, undefined, 'no completion')
+t.equal(restart.usage, 'npm restart [-- <args>]')