diff options
Diffstat (limited to 'test/lib/commands/edit.js')
-rw-r--r-- | test/lib/commands/edit.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lib/commands/edit.js b/test/lib/commands/edit.js index bf7bd3155..b2a10be13 100644 --- a/test/lib/commands/edit.js +++ b/test/lib/commands/edit.js @@ -42,6 +42,7 @@ t.test('npm edit', async t => { const [scriptShell] = makeSpawnArgs({ event: 'install', path: npm.prefix, + cmd: 'testinstall', }) spawk.spawn('testeditor', [semverPath]) spawk.spawn( @@ -66,6 +67,7 @@ t.test('rebuild failure', async t => { const [scriptShell] = makeSpawnArgs({ event: 'install', path: npm.prefix, + cmd: 'testinstall', }) spawk.spawn('testeditor', [semverPath]) spawk.spawn( @@ -109,6 +111,7 @@ t.test('npm edit editor has flags', async t => { const [scriptShell] = makeSpawnArgs({ event: 'install', path: npm.prefix, + cmd: 'testinstall', }) spawk.spawn('testeditor', ['--flag', semverPath]) spawk.spawn( |