mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
test: increase timeout
This commit is contained in:
@@ -408,7 +408,7 @@ describe('Messaging Library', () => {
|
|||||||
await db.sortedSetAdd('users:online', Date.now() - ((meta.config.onlineCutoff * 60000) + 50000), herpUid);
|
await db.sortedSetAdd('users:online', Date.now() - ((meta.config.onlineCutoff * 60000) + 50000), herpUid);
|
||||||
await socketModules.chats.send({ uid: fooUid }, { roomId: roomId, message: 'second chat message **bold** text' });
|
await socketModules.chats.send({ uid: fooUid }, { roomId: roomId, message: 'second chat message **bold** text' });
|
||||||
|
|
||||||
await sleep(1500);
|
await sleep(3000);
|
||||||
const data = await User.notifications.get(herpUid);
|
const data = await User.notifications.get(herpUid);
|
||||||
assert(data.unread[0]);
|
assert(data.unread[0]);
|
||||||
const notification = data.unread[0];
|
const notification = data.unread[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user