From 12a203aa194a96fe02ca08e90c6861346dfe5926 Mon Sep 17 00:00:00 2001 From: Marcus Pousette Date: Thu, 14 Dec 2023 13:42:50 +0100 Subject: [PATCH] fix: add timeout --- .../programs/data/shared-log/src/__tests__/observer.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/programs/data/shared-log/src/__tests__/observer.test.ts b/packages/programs/data/shared-log/src/__tests__/observer.test.ts index 851e238c9..eddc7f103 100644 --- a/packages/programs/data/shared-log/src/__tests__/observer.test.ts +++ b/packages/programs/data/shared-log/src/__tests__/observer.test.ts @@ -33,7 +33,7 @@ describe("observer", () => { if (i === j) { continue; } - await store.waitFor(peer.peerId); + await store.waitFor(peer.peerId, { timeout: 10 * 1000 }); } }