Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update base64.test.ts

Kiran Kcf4cbc02ace0
diff --git a/apps/web/tests/misc/base64.test.ts b/apps/web/tests/misc/base64.test.ts
index 894e70fd07..71f0ce4600 100644
--- a/apps/web/tests/misc/base64.test.ts
+++ b/apps/web/tests/misc/base64.test.ts
@@ -23,7 +23,7 @@ describe("base64ImageSchema", () => {
it("should reject malformed base64 data", async () => {
const malformedBase64 = "data:image/png;base64,invalid-base64-data";
await expect(base64ImageSchema.parseAsync(malformedBase64)).rejects.toThrow(
- "Invalid image content. The file must be a valid image",
+ "Invalid image format, supports only png, jpeg, jpg, gif, webp.",
);
});