From e35859be696831ec9e071fd563881579cfa40591 Mon Sep 17 00:00:00 2001 From: Piotr Suwala Date: Fri, 27 Oct 2023 10:59:33 +0200 Subject: [PATCH] feat(lib): add sleep to a test --- lib/tests/message.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tests/message.test.ts b/lib/tests/message.test.ts index 586012d..9c946aa 100644 --- a/lib/tests/message.test.ts +++ b/lib/tests/message.test.ts @@ -870,6 +870,7 @@ describe("Send message test", () => { history = await channel.getHistory() const threadedMessage = history.messages[0] expect(threadedMessage.hasThread).toBe(true) + await sleep(150) const thread = await threadedMessage.getThread()