it('Should fail without an incorrect input file', async function () {
const fields = baseCorrectParams
- const attaches = {
+ let attaches = {
'videofile': join(__dirname, '..', '..', 'fixtures', 'video_short_fake.webm')
}
await makeUploadRequest({ url: server.url, path: path + '/upload', token: server.accessToken, fields, attaches })
+
+ attaches = {
+ 'videofile': join(__dirname, '..', '..', 'fixtures', 'video_short.mkv')
+ }
+ await makeUploadRequest({ url: server.url, path: path + '/upload', token: server.accessToken, fields, attaches })
})
it('Should fail with an incorrect thumbnail file', async function () {