We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2d348 commit 7334780Copy full SHA for 7334780
src/utils/files.js
@@ -32,7 +32,7 @@ function isPathInside(basePath, targetPath) {
32
function getTestFolderPath(filePath, rootPath) {
33
return path.join(
34
path.resolve(PYTHAGORA_UNIT_DIR),
35
- path.dirname(filePath).replace(rootPath, ''),
+ path.dirname(filePath).replace(path.resolve(rootPath), ''),
36
path.basename(filePath, path.extname(filePath))
37
);
38
}
0 commit comments