Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit b15b057

Browse files
committed
fix(test): code block path not working when running tests
1 parent 398fc90 commit b15b057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/server/src/services/code_block_theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function getStylesDirectory() {
5050
} else if (!isDev) {
5151
return "node_modules/@highlightjs/cdn-assets/styles";
5252
} else {
53-
return "../node_modules/@highlightjs/cdn-assets/styles";
53+
return join(__dirname, "../../node_modules/@highlightjs/cdn-assets/styles");
5454
}
5555
}
5656

0 commit comments

Comments
 (0)