mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
chore(highlightjs): tests not runnable
This commit is contained in:
@@ -9,7 +9,7 @@ describe("Syntax highlighting definitions", () => {
|
||||
continue;
|
||||
}
|
||||
|
||||
const language = (await loader).default;
|
||||
const language = (await loader()).default;
|
||||
|
||||
hljs.registerLanguage(mime, language);
|
||||
hljs.highlight("Hello world", {
|
||||
|
||||
Reference in New Issue
Block a user