mirror of
https://github.com/zadam/trilium.git
synced 2025-10-09 15:08:14 +08:00
fix(test): code block path not working when running tests
This commit is contained in:
parent
398fc904b4
commit
b15b057777
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue