Skip to content

Commit

Permalink
feat(lib): add sleep to a test
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-suwala committed Oct 27, 2023
1 parent 9cbf977 commit e35859b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tests/message.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit e35859b

Please sign in to comment.