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

deref-command.js « utils « lib « test - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 474488c58c254eb3ba26a23abcc27709561382bd (plain)
1
2
3
4
5
6
7
8
9
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'), '')