Skip to content

Commit 55b7845

Browse files
committed
test: normalize expected path
1 parent 8a86282 commit 55b7845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-cfg-resolve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ test('should return config root', t => {
9898
};
9999
const config = cfgResolve({input, flags});
100100
const expectedRoot = './src';
101-
const expectedInput = [path.join(process.cwd(), expectedRoot, input)];
101+
const expectedInput = [normalizePath(path.join(process.cwd(), expectedRoot, input))];
102102

103103
t.is(config.root, expectedRoot);
104104
t.deepEqual(config.input, expectedInput);

0 commit comments

Comments
 (0)