mirror of
https://github.com/zadam/trilium.git
synced 2026-01-08 16:32:13 +01:00
chore(commons): fix Node reference
This commit is contained in:
@@ -55,10 +55,6 @@ export function trimIndentation(strings: TemplateStringsArray, ...values: any[])
|
||||
return output.join("\n");
|
||||
}
|
||||
|
||||
export function flushPromises() {
|
||||
return new Promise(setImmediate);
|
||||
}
|
||||
|
||||
export function sleepFor(duration: number) {
|
||||
return new Promise(resolve => setTimeout(resolve, duration));
|
||||
}
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "./out-tsc/vitest",
|
||||
"types": [
|
||||
"vitest"
|
||||
"vitest",
|
||||
"node"
|
||||
],
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user