Tests the full letter lifecycle: upload → send → poll for status transition → cancel. Includes polling logic to wait for document status to transition from IN_PREPARATION to PRODUCTION_QUEUE before attempting cancel. Gracefully handles insufficient balance errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| e2e.test.ts | ||