Skip to content

Commit 02e02f8

Browse files
committed
test(core): tolerate slower polling cadence checks
1 parent 742a132 commit 02e02f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/test/unit/PollingTransport.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ describe('PollingTransport mint quote batching', () => {
583583

584584
transport.on(mintUrl, 'message', () => {});
585585
subscribeToQuotes(transport, mintUrl, 'bolt11', 'cadence-sub', ['quote-a']);
586-
await waitFor(() => startedAt.length === 2);
586+
await waitFor(() => startedAt.length === 2, 2_000);
587587

588588
expect(startedAt[1]! - startedAt[0]!).toBeGreaterThanOrEqual(18);
589589
transport.closeAll();

0 commit comments

Comments
 (0)