⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
test: formatting s3 test
Tin3f348c767481
diff --git a/tests/api/storage/s3.test.ts b/tests/api/storage/s3.test.tsindex ae17d71d0..a16fd472e 100644--- a/tests/api/storage/s3.test.ts+++ b/tests/api/storage/s3.test.ts@@ -93,11 +93,9 @@ describe("S3 helpers", () => {expect(() => validateTaskAssetUploadInput("image/png", 0)).toThrow("Upload size must be greater than zero.",);- expect(- () => validateTaskAssetUploadInput("image/png", 2 * 1024 * 1024),- ).toThrow(- "Upload exceeds the maximum upload size of 1MB.",- );+ expect(() =>+ validateTaskAssetUploadInput("image/png", 2 * 1024 * 1024),+ ).toThrow("Upload exceeds the maximum upload size of 1MB.");expect(() => validateTaskAssetUploadInput("image/png", 512)).not.toThrow();});});