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:
Diffstat (limited to 'test/lib/commands/stop.js')
-rw-r--r--test/lib/commands/stop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/commands/stop.js b/test/lib/commands/stop.js
index 234eb2cf4..1a4abd0b3 100644
--- a/test/lib/commands/stop.js
+++ b/test/lib/commands/stop.js
@@ -26,7 +26,7 @@ t.test('should run stop script from package.json', async t => {
loglevel: 'silent',
},
})
- const [scriptShell] = makeSpawnArgs({ path: npm.prefix })
+ const [scriptShell] = makeSpawnArgs({ path: npm.prefix, cmd: 'node ./test-stop.js' })
const script = spawk.spawn(scriptShell, (args) => {
const lastArg = args[args.length - 1]
const rightExtension = lastArg.endsWith('.cmd') || lastArg.endsWith('.sh')