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

@@ -72,7 +72,7 @@ WAConnectionTest('Messages', conn => {
assert.ok (message.message.audioMessage.seconds > 0)
await conn.downloadAndSaveMediaMessage(message,'./Media/received_aud')
})
it('should send an audio as a voice note', async () => {
it('should send a voice note', async () => {
const content = await fs.readFile('./Media/sonata.mp3')
const message = await sendAndRetrieveMessage(conn, content, MessageType.audio, { mimetype: Mimetype.mp4Audio, ptt: true })