Skip to content

Commit 148842f

Browse files
committed
check if tests actually work
1 parent e02747f commit 148842f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/storybook-builder/src/generate-stories-script.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function toImportFn(stories: string[]) {
3434
}
3535

3636
const importPath = toImportPath(relativePath);
37-
let actualPath = file;
37+
let actualPath = `${process.cwd()}/${relativePath}`;
3838
if (actualPath.endsWith('.mdx')) {
3939
actualPath = `${actualPath}.js`;
4040
}

0 commit comments

Comments
 (0)