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:
authornlf <quitlahok@gmail.com>2022-04-08 00:37:28 +0300
committerNathan Fritz <fritzy@github.com>2022-04-12 03:14:51 +0300
commit0c7648756a1aff643d5054b77429c04055ae8961 (patch)
treef268bda13ad75b483aa1c5aed93c43dc08afe659 /workspaces/arborist/tap-snapshots
parentfe4a3d052a7be70e68ce3a519f0e03d22f1b97f7 (diff)
chore(arborist): update printable tree test to be a valid tree
Diffstat (limited to 'workspaces/arborist/tap-snapshots')
-rw-r--r--workspaces/arborist/tap-snapshots/test/printable.js.test.cjs16
1 files changed, 8 insertions, 8 deletions
diff --git a/workspaces/arborist/tap-snapshots/test/printable.js.test.cjs b/workspaces/arborist/tap-snapshots/test/printable.js.test.cjs
index 3a9a283d0..ce2396d1c 100644
--- a/workspaces/arborist/tap-snapshots/test/printable.js.test.cjs
+++ b/workspaces/arborist/tap-snapshots/test/printable.js.test.cjs
@@ -564,24 +564,24 @@ version:'1.0.0',
location:'',
path:'/some/path',
isProjectRoot:true,
-overrides:Map{'foo@1' => '2.0.0', 'bar' => '2.0.0'},
-edgesOut:Map{
-'bar' =>{prod bar@^1.0.0 overridden:2.0.0 -> node_modules/bar},
-'foo' =>{prod foo@^1.0.0 overridden:2.0.0 -> node_modules/foo}},
+overrides:Map{'bar' => '2.0.0'},
+edgesOut:Map{'foo' =>{prod foo@^1.0.0 -> node_modules/foo}},
children:Map{
'bar' =>{
name:'bar',
version:'2.0.0',
location:'node_modules/bar',
path:'/some/path/node_modules/bar',
-overrides:Map{'bar' => '2.0.0', 'foo@1' => '2.0.0'},
-edgesIn:Set{{"" prod bar@^1.0.0}}},
+overrides:Map{'bar' => '2.0.0'},
+edgesIn:Set{{node_modules/foo prod bar@^1.0.0}}},
'foo' =>{
name:'foo',
-version:'2.0.0',
+version:'1.0.0',
location:'node_modules/foo',
path:'/some/path/node_modules/foo',
-overrides:Map{'foo@1' => '2.0.0', 'bar' => '2.0.0'},
+overrides:Map{'bar' => '2.0.0'},
+edgesOut:Map{
+'bar' =>{prod bar@^1.0.0 overridden:2.0.0 -> node_modules/bar}},
edgesIn:Set{{"" prod foo@^1.0.0}}}}}
`