From 014c52a4aca5c09612500e43a7ccb8d0449456a3 Mon Sep 17 00:00:00 2001 From: Sasha <118575614+weboko@users.noreply.github.com> Date: Fri, 12 May 2023 15:28:01 +0200 Subject: [PATCH] fix: add timeout to utils test (#1348) --- packages/tests/tests/utils.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/tests/tests/utils.spec.ts b/packages/tests/tests/utils.spec.ts index 0be264571e..58e61919b0 100644 --- a/packages/tests/tests/utils.spec.ts +++ b/packages/tests/tests/utils.spec.ts @@ -44,6 +44,7 @@ describe("Util: toAsyncIterator", () => { }); it("creates an iterator", async function () { + this.timeout(10000); const messageText = "hey, what's up?"; const sent = { payload: utf8ToBytes(messageText) }; @@ -58,6 +59,7 @@ describe("Util: toAsyncIterator", () => { }); it("handles multiple messages", async function () { + this.timeout(10000); const { iterator } = await toAsyncIterator(waku.filter, TestDecoder); await waku.lightPush.send(TestEncoder, { @@ -75,6 +77,7 @@ describe("Util: toAsyncIterator", () => { }); it("unsubscribes", async function () { + this.timeout(10000); const { iterator, stop } = await toAsyncIterator(waku.filter, TestDecoder); await waku.lightPush.send(TestEncoder, {