Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix web tests

sytolkd8ff04c4516b
diff --git a/tests/setup-functions.js b/tests/setup-functions.js
index c456e9efa..86ee843c4 100644
--- a/tests/setup-functions.js
+++ b/tests/setup-functions.js
@@ -20,7 +20,7 @@ export async function startMinio() {
const command = global.isWin ? winMinio : unixMinio;
const minioProcess = await require('child_process').spawn(command, [
'server',
- pathLib.resolve('./testdata-tmp/file-structure')
+ pathLib.resolve(__dirname, './testdata-tmp/file-structure')
]);
minioProcess.on('exit', function(code) {