~/billing-service on agent/flaky-stripe-webhook ⚡ 2 modified
› npm test -- tests/integration/checkout.spec.ts --runInBand
PASS tests/integration/checkout.spec.ts (8.241 s)
✓ completes a session and writes one invoice (1342 ms)
✓ reissues invoice when webhook arrives twice (894 ms)
✓ rejects unsigned webhook payloads (412 ms)
✓ retries on transient stripe-mock failures (2018 ms)
Test Suites: 1 passed, 1 total
Tests: 4 passed, 4 total
Snapshots: 0 total
Time: 8.421 s
› for i in {1..20}; do npm test -- tests/integration/checkout.spec.ts --silent; done # soak
running 20 iterations…
████████████████████ 20/20 passed · 0 flakes (was 11/20 before patch)
›