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 'smoke-tests/test/index.js')
-rw-r--r--smoke-tests/test/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoke-tests/test/index.js b/smoke-tests/test/index.js
index bbb833a57..d9a2a8833 100644
--- a/smoke-tests/test/index.js
+++ b/smoke-tests/test/index.js
@@ -224,8 +224,8 @@ t.test('npm outdated', async t => {
t.matchSnapshot(err.stdout, 'should have expected outdated output')
})
-t.test('npm set-script', async t => {
- const cmdRes = await exec('set-script', 'hello', 'echo Hello')
+t.test('npm pkg set scripts', async t => {
+ const cmdRes = await exec('pkg', 'set', 'scripts.hello=echo Hello')
t.matchSnapshot(cmdRes, 'should have expected set-script output')
t.matchSnapshot(