diff options
author | nlf <quitlahok@gmail.com> | 2022-04-08 00:37:28 +0300 |
---|---|---|
committer | Nathan Fritz <fritzy@github.com> | 2022-04-12 03:14:51 +0300 |
commit | 0c7648756a1aff643d5054b77429c04055ae8961 (patch) | |
tree | f268bda13ad75b483aa1c5aed93c43dc08afe659 /workspaces/arborist/test | |
parent | fe4a3d052a7be70e68ce3a519f0e03d22f1b97f7 (diff) |
chore(arborist): update printable tree test to be a valid tree
Diffstat (limited to 'workspaces/arborist/test')
-rw-r--r-- | workspaces/arborist/test/printable.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/workspaces/arborist/test/printable.js b/workspaces/arborist/test/printable.js index be2a6043d..8d06059d5 100644 --- a/workspaces/arborist/test/printable.js +++ b/workspaces/arborist/test/printable.js @@ -421,15 +421,13 @@ t.test('show overrides', (t) => { version: '1.0.0', dependencies: { foo: '^1.0.0', - bar: '^1.0.0', }, overrides: { - 'foo@1': '2.0.0', bar: '2.0.0', }, }, children: [ - { pkg: { name: 'foo', version: '2.0.0' }, ...flags }, + { pkg: { name: 'foo', version: '1.0.0', dependencies: { bar: '^1.0.0' } }, ...flags }, { pkg: { name: 'bar', version: '2.0.0' }, ...flags }, ], ...flags, |