Clear tmp media files + regen yarn lock

This commit is contained in:
Adhiraj Singh
2021-04-12 21:01:20 +05:30
parent 3575150df1
commit 3b2618910c
5 changed files with 398 additions and 429 deletions

View File

@@ -39,7 +39,7 @@ export async function sendAndRetrieveMessage(conn: WAConnection, content, type:
const chat = conn.chats.get(recipientJid)
assert.ok (chat.messages.get(GET_MESSAGE_ID(message.key)))
assert.ok (chat.t >= (unixTimestampSeconds()-5) )
assert.ok (chat.t >= (unixTimestampSeconds()-5), `expected: ${chat.t} > ${(unixTimestampSeconds()-5)}`)
return message
}
export const WAConnectionTest = (name: string, func: (conn: WAConnection) => void) => (