cli: fix versioning tests on windows

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-01-10 14:30:59 +01:00
parent 618d78495c
commit 512591b8c3
@@ -86,12 +86,12 @@ describe('mapDependencies', () => {
{
name: 'a',
range: '1 || 2',
location: path.normalize('/root/pkgs/a'),
location: path.resolve('/root/pkgs/a'),
},
{
name: 'b',
range: '3',
location: path.normalize('/root/pkgs/b'),
location: path.resolve('/root/pkgs/b'),
},
],
],
@@ -101,7 +101,7 @@ describe('mapDependencies', () => {
{
name: 'b',
range: '^0',
location: path.normalize('/root/pkgs/b'),
location: path.resolve('/root/pkgs/b'),
},
],
],