diff options
Diffstat (limited to 'test/lib/npm.js')
-rw-r--r-- | test/lib/npm.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/npm.js b/test/lib/npm.js index d9201c8a6..135a02cc9 100644 --- a/test/lib/npm.js +++ b/test/lib/npm.js @@ -574,10 +574,10 @@ t.test('aliases and typos', async t => { const { npm } = await loadMockNpm(t, { load: false }) await t.rejects(npm.cmd('thisisnotacommand'), { code: 'EUNKNOWNCOMMAND' }) await t.rejects(npm.cmd(''), { code: 'EUNKNOWNCOMMAND' }) - await t.rejects(npm.cmd('birt'), { code: 'EUNKNOWNCOMMAND' }) + await t.rejects(npm.cmd('birthday'), { code: 'EUNKNOWNCOMMAND' }) await t.resolves(npm.cmd('it'), { name: 'install-test' }) await t.resolves(npm.cmd('installTe'), { name: 'install-test' }) - await t.resolves(npm.cmd('birthday'), { name: 'birthday' }) + await t.resolves(npm.cmd('access'), { name: 'access' }) }) t.test('explicit workspace rejection', async t => { |