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:
authorGar <gar+gh@danger.computer>2021-02-23 02:59:21 +0300
committerGar <gar+gh@danger.computer>2021-02-25 21:23:43 +0300
commit113b1319f9e9c90694454bebc9dc12111a441ecf (patch)
tree7dd6bd1e39dd16889c2912f419307c029969b6d1 /test/lib/restart.js
parent881a8558de5cb808c9efdcf3fb5d0a86a95e8eb0 (diff)
chore(refactor): promisify completion scripts
We also removed the "none" script because we handle a missing script just fine. There is no need to put an empty one in PR-URL: https://github.com/npm/cli/pull/2759 Credit: @wraithgar Close: #2759 Reviewed-by: @nlf
Diffstat (limited to 'test/lib/restart.js')
-rw-r--r--test/lib/restart.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lib/restart.js b/test/lib/restart.js
index fde798888..a19bfd0d4 100644
--- a/test/lib/restart.js
+++ b/test/lib/restart.js
@@ -1,5 +1,4 @@
const t = require('tap')
const restart = require('../../lib/restart.js')
t.isa(restart, Function)
-t.equal(restart.completion, require('../../lib/utils/completion/none.js'), 'empty completion')
t.equal(restart.usage, 'npm restart [-- <args>]')