From ec8ef50e8a7c13f14c5ce775148d6d78f9675595 Mon Sep 17 00:00:00 2001 From: b-Nollet Date: Wed, 13 Nov 2024 10:50:14 +0100 Subject: [PATCH] fix(@xen-orchestra/fs): create local test directory --- @xen-orchestra/fs/src/fs.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/@xen-orchestra/fs/src/fs.test.js b/@xen-orchestra/fs/src/fs.test.js index 008fc6d12f6..07999e10ab1 100644 --- a/@xen-orchestra/fs/src/fs.test.js +++ b/@xen-orchestra/fs/src/fs.test.js @@ -3,7 +3,6 @@ import { strict as assert } from 'assert' import 'dotenv/config' import { forOwn, random } from 'lodash' -import { tmpdir } from 'os' import { getHandler } from '.' @@ -34,7 +33,7 @@ const rejectionOf = p => reason => reason ) -const handlers = [`file://${tmpdir()}`] +const handlers = [`file://${__dirname}`] if (process.env.xo_fs_nfs) handlers.push(process.env.xo_fs_nfs) if (process.env.xo_fs_smb) handlers.push(process.env.xo_fs_smb)