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>2022-03-24 17:18:56 +0300
committerLuke Karrys <luke@lukekarrys.com>2022-03-28 23:21:36 +0300
commitd8dcc02cfd354c1314c45d6530ec926cd138210c (patch)
treeba3721d4c4f153fe005bf9e08d450d9e2473a9a4 /test/lib/utils/deref-command.js
parenta64acc0bf01e4bc68b26ead5b2d5c6db47ef16c2 (diff)
fix: consolidate command alias code
Diffstat (limited to 'test/lib/utils/deref-command.js')
-rw-r--r--test/lib/utils/deref-command.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/lib/utils/deref-command.js b/test/lib/utils/deref-command.js
deleted file mode 100644
index 474488c58..000000000
--- a/test/lib/utils/deref-command.js
+++ /dev/null
@@ -1,9 +0,0 @@
-const t = require('tap')
-const deref = require('../../../lib/utils/deref-command.js')
-
-t.equal(deref(null), '')
-t.equal(deref(8), '')
-t.equal(deref('it'), 'install-test')
-t.equal(deref('installTe'), 'install-test')
-t.equal(deref('birthday'), 'birthday')
-t.equal(deref('birt'), '')