fix test
This commit is contained in:
parent
52ace91580
commit
4f8f06d9da
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ afterEach(async () => {
|
||||||
await removeDir(uploadDir);
|
await removeDir(uploadDir);
|
||||||
});
|
});
|
||||||
|
|
||||||
function params(maxFileSizeBytes = 1024 * 1024): { targetDir: string; maxFileSizeBytes: number } {
|
function params(maxFileSizeBytes = 1024 * 1024): { targetDir: string; maxFileSizeBytes: number,permission:number } {
|
||||||
return { targetDir: uploadDir, maxFileSizeBytes };
|
return { targetDir: uploadDir, maxFileSizeBytes ,permission:0o666};
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('saveFile', () => {
|
describe('saveFile', () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue