From 4f8f06d9da74d084097494b1e94b2a94a536491e Mon Sep 17 00:00:00 2001 From: Nicolas Date: Sat, 19 Sep 2026 15:01:40 +0200 Subject: [PATCH] fix test --- tests/storage.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/storage.test.ts b/tests/storage.test.ts index 7614874..8e346f5 100644 --- a/tests/storage.test.ts +++ b/tests/storage.test.ts @@ -24,8 +24,8 @@ afterEach(async () => { await removeDir(uploadDir); }); -function params(maxFileSizeBytes = 1024 * 1024): { targetDir: string; maxFileSizeBytes: number } { - return { targetDir: uploadDir, maxFileSizeBytes }; +function params(maxFileSizeBytes = 1024 * 1024): { targetDir: string; maxFileSizeBytes: number,permission:number } { + return { targetDir: uploadDir, maxFileSizeBytes ,permission:0o666}; } describe('saveFile', () => {