Skip to content

fix(web): verify composer attachment persistence after flush #2987

fix(web): verify composer attachment persistence after flush

fix(web): verify composer attachment persistence after flush #2987

Triggered via pull request March 22, 2026 12:56
Status Failure
Total duration 1m 37s
Artifacts

ci.yml

on: pull_request
Format, Lint, Typecheck, Test, Browser Test, Build
1m 26s
Format, Lint, Typecheck, Test, Browser Test, Build
Release Smoke
7s
Release Smoke
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Format, Lint, Typecheck, Test, Browser Test, Build
Process completed with exit code 1.
Format, Lint, Typecheck, Test, Browser Test, Build
@t3tools/web#test: command (/home/runner/_work/t3code/t3code/apps/web) /home/runner/.bun/bin/bun run test exited (1)
src/composerDraftStore.test.ts > composerDraftStore syncPersistedAttachments > keeps attachments persisted after flushing the pending draft write: apps/web/src/composerDraftStore.test.ts#L226
AssertionError: expected [] to deeply equal [ { id: 'img-persisted', …(4) } ] - Expected + Received - [ - { - "dataUrl": "blob:persisted", - "id": "img-persisted", - "mimeType": "image/png", - "name": "image.png", - "sizeBytes": 4, - }, - ] + [] ❯ src/composerDraftStore.test.ts:226:7