From 30c1f2f45a8f74eee56aeee01716e48351ccff79 Mon Sep 17 00:00:00 2001 From: Marcus Pousette Date: Wed, 13 Dec 2023 22:32:22 +0100 Subject: [PATCH] fix: test add delay --- packages/transport/stream/src/__tests__/stream.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/transport/stream/src/__tests__/stream.test.ts b/packages/transport/stream/src/__tests__/stream.test.ts index 655617ef5..c1000e90c 100644 --- a/packages/transport/stream/src/__tests__/stream.test.ts +++ b/packages/transport/stream/src/__tests__/stream.test.ts @@ -732,6 +732,7 @@ describe("streams", function () { let totalWrites = 10; expect(streams[0].ack).toHaveLength(0); + await delay(5000); // push one message to ensure paths are found await streams[0].stream.publish(data, { mode: new SeekDelivery({