/** * US-009 — push-receiver unit tests. * * Covers the five required behaviors from the PRD AC, against the SQS-backed * {@link SqsPushReceiver} (mocked SQS client — NO real AWS) and the * {@link InMemoryPushReceiver} (in-process fanout analogue): * * 1. subscribe lifecycle — start opens the poll loop / subscription, dispose * stops it; double-start is a no-op; flag-OFF stays dormant. * 2. dedupe — an event with sequenceNumber <= the highest seen * for its path is skipped; per-path counters are independent. * 3. reconnect-replay — a transient receiveMessage failure backs off and * resumes; SQS retention redelivers the buffered events; dedupe absorbs * redelivery (in-memory: disconnect buffers, reconnect drains). * 4. flag gating — dormant when the per-tenant flag is OFF; no queue * polled, connected stays false. * 5. dispose drain — dispose aborts + awaits the in-flight syncFn, then * disconnects; the loop terminates with no leaked timers. * * The live per-client SQS queue is NOT provisioned yet (server provisioning * Lambda is an unbuilt follow-up — see references.md). Every test injects a * fake SQS client / in-memory fanout. */ export {}; //# sourceMappingURL=push-receiver.test.d.ts.map