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/ls.js')
-rw-r--r--test/lib/ls.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/test/lib/ls.js b/test/lib/ls.js
index f968f406f..db4ba81ee 100644
--- a/test/lib/ls.js
+++ b/test/lib/ls.js
@@ -1396,12 +1396,21 @@ t.test('ls', (t) => {
}),
node_modules: {
a: t.fixture('symlink', '../a'),
- b: t.fixture('symlink', '../b')
+ b: t.fixture('symlink', '../b'),
+ c: {
+ 'package.json': JSON.stringify({
+ name: 'c',
+ version: '1.0.0'
+ })
+ }
},
a: {
'package.json': JSON.stringify({
name: 'a',
- version: '1.0.0'
+ version: '1.0.0',
+ dependencies: {
+ c: '^1.0.0'
+ }
})
},
b: {