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 bf24769 commit c5ef8fcCopy full SHA for c5ef8fc
packages/common/src/testUtil/getFixturePaths.ts
@@ -28,7 +28,7 @@ export function getRecordedTestPaths() {
28
return walkFilesSync(directory)
29
.filter((p) => p.endsWith(".yml") || p.endsWith(".yaml"))
30
.map((p) => ({
31
- name: path.relative(relativeDir, p.split(".")[0]),
+ name: path.relative(relativeDir, p.substring(0, p.lastIndexOf("."))),
32
path: p,
33
}));
34
}
0 commit comments