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
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lib/arborist-cmd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/arborist-cmd.js b/test/lib/arborist-cmd.js
index 3db862d23..91d8a7b33 100644
--- a/test/lib/arborist-cmd.js
+++ b/test/lib/arborist-cmd.js
@@ -98,7 +98,7 @@ t.test('handle getWorkspaces raising an error', async t => {
})
class TestCmd extends ArboristCmd {}
const cmd = new TestCmd()
- cmd.npm = {}
+ cmd.npm = { localPrefix: t.testdir() }
await t.rejects(
cmd.execWorkspaces(['foo'], ['a']),