1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-15 02:15:54 +02:00
This commit is contained in:
kakkokari-gtyih
2025-06-13 16:18:09 +09:00
parent ec92919cb1
commit 3dbeb4659b
3 changed files with 4 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ describe('S3Service', () => {
Bucket: 'fake',
Key: 'fake',
Body: 'x',
})).rejects.toThrowError(Error);
})).rejects.toThrow(Error);
});
test('upload a large file error', async () => {
@@ -82,7 +82,7 @@ describe('S3Service', () => {
Bucket: 'fake',
Key: 'fake',
Body: 'x'.repeat(8 * 1024 * 1024 + 1), // デフォルトpartSizeにしている 8 * 1024 * 1024 を越えるサイズ
})).rejects.toThrowError(Error);
})).rejects.toThrow(Error);
});
});
});