mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(test): code block path not working when running tests
This commit is contained in:
parent
398fc904b4
commit
b15b057777
@ -50,7 +50,7 @@ export function getStylesDirectory() {
|
||||
} else if (!isDev) {
|
||||
return "node_modules/@highlightjs/cdn-assets/styles";
|
||||
} else {
|
||||
return "../node_modules/@highlightjs/cdn-assets/styles";
|
||||
return join(__dirname, "../../node_modules/@highlightjs/cdn-assets/styles");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user