fix(web): cap default images at 5 MiB

This commit is contained in:
creatixchu
2026-08-12 14:47:20 +08:00
parent 8d4c3f8a0a
commit 51dc55ec3d
15 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ it('accepts a whole-page drop under the limits-labeled overlay and refuses an ov
const overlay = await screen.findByRole('status')
expect(overlay.textContent).toContain('Drag images here to add them')
await waitFor(() => {
expect(overlay.textContent).toContain('Up to 20 images, 10MB each')
expect(overlay.textContent).toContain('Up to 20 images, 5MB each')
})
// Dropping on the transcript area (not the composer card) lands in the rail.