mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +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) {
|
} else if (!isDev) {
|
||||||
return "node_modules/@highlightjs/cdn-assets/styles";
|
return "node_modules/@highlightjs/cdn-assets/styles";
|
||||||
} else {
|
} 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