mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Remove previous thumbnail if needed
This commit is contained in:
@@ -558,7 +558,7 @@ describe('Test follows', function () {
|
||||
const caption1: VideoCaption = res.body.data[0]
|
||||
expect(caption1.language.id).to.equal('ar')
|
||||
expect(caption1.language.label).to.equal('Arabic')
|
||||
expect(caption1.captionPath).to.equal('/lazy-static/video-captions/' + video4.uuid + '-ar.vtt')
|
||||
expect(caption1.captionPath).to.match(new RegExp('^/lazy-static/video-captions/.+-ar.vtt$'))
|
||||
await testCaptionFile(servers[0].url, caption1.captionPath, 'Subtitle good 2.')
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user