✔ flawed decision accepts a client completion flag without billing evidence (1.5553ms)
✔ missing server billing cannot be bypassed by client flags (1.0214ms)
✔ an approved credit account is eligible without requiring a credit card (0.2034ms)
✔ unverified card fails (0.1462ms)
✔ unknown billing scheme fails closed (0.5991ms)
✔ another actor cannot activate an account campaign (0.2516ms)
✔ a campaign cannot be activated through another account (0.1492ms)
✔ unknown account fails without disclosing campaign data (0.1496ms)
✔ inactive account fails (0.1913ms)
✔ forged client account identity is ignored (0.2015ms)
✔ invalid integer-cent budget 0 fails (0.2349ms)
✔ invalid integer-cent budget -1 fails (0.1267ms)
✔ invalid integer-cent budget 1.5 fails (0.0898ms)
✔ invalid integer-cent budget NaN fails (0.0937ms)
✔ invalid integer-cent budget Infinity fails (0.0692ms)
✔ invalid integer-cent budget 9007199254740992 fails (0.0538ms)
✔ invalid integer-cent budget 50001 fails (0.0447ms)
✔ invalid integer-cent budget 12000 fails (0.0451ms)
✔ invalid integer-cent budget null fails (0.0425ms)
✔ allowed budget boundaries pass (0.1948ms)
✔ currency must match trusted account currency (0.1013ms)
✔ invalid idempotency key fails (0.0927ms)
✔ non-draft lifecycle cannot activate (0.0995ms)
✔ duplicate concurrent-looking callers produce one receipt and one outbox event (0.7979ms)
✔ same key with changed budget is a conflict (0.1839ms)
✔ same actor and account key cannot activate another campaign (0.1728ms)
✔ receipt replay still checks the current actor membership (0.1342ms)
✔ returned copies cannot modify stored receipts (0.0905ms)
✔ dispatch makes the fictional campaign active and deduplicates repeated jobs (1.1896ms)
✔ billing revocation after activation prevents later delivery (0.2116ms)
✔ membership revocation after activation prevents later delivery (0.1921ms)
✔ changed spending policy is revalidated before delivery (0.1344ms)
✔ XSS-looking content is assigned only to a text sink (0.0944ms)
✔ CSRF check accepts the configured origin and session-bound token (0.1765ms)
✔ CSRF check rejects a cross-origin request even with correct token (0.0917ms)
✔ CSRF check rejects a missing origin (0.0854ms)
✔ CSRF check rejects missing or incorrect token undefined (0.1033ms)
✔ CSRF check rejects missing or incorrect token  (0.0496ms)
✔ CSRF check rejects missing or incorrect token short (0.0385ms)
✔ CSRF check rejects missing or incorrect token xxxxxxxxxxxx (0.0496ms)
✔ CSRF check rejects missing or incorrect token xxxxxxxxxxxx (0.0697ms)
ℹ tests 41
ℹ suites 0
ℹ pass 41
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 155.8905
