Files
sharedinbox/test/unit
Thomas SharedInboxandClaude Sonnet 4.6 d8f8b056cd test(T4): extend migration tests to cover all schema versions up to v24
Four tests:
- schemaVersion constant equals 24
- v1 → latest: verifies all columns added across v2–v23 (account_type,
  jmap_url, username, manage_sieve_host, thread_id, snoozed_until,
  snoozed_from_mailbox_path, list_unsubscribe_header) and all tables
  created across v4–v21 (drafts, sync_states, pending_changes,
  sync_logs, sync_log_mailboxes, threads, sync_health, undo_actions)
- v22 → latest: specifically tests the two new steps added in v23/v24 —
  emails.list_unsubscribe_header and drafts.imap_server_id
- fresh install: confirms all 12 tables exist and the two v23/v24
  columns are present in a brand-new in-memory database

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 05:00:56 +02:00
..
2026-04-16 11:48:37 +02:00