]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/videos/video-comments.ts
Fix tests
[github/Chocobozzz/PeerTube.git] / server / tests / api / videos / video-comments.ts
index 0eddac35b6a40b4b21ac09abcc2c66c9f7599439..f83d9508811dd55f20937abdf15bdc5eb49979f3 100644 (file)
@@ -23,7 +23,7 @@ describe('Test video comments', function () {
   let replyToDeleteId: number
 
   before(async function () {
-    this.timeout(10000)
+    this.timeout(30000)
 
     await flushTests()
 
@@ -83,8 +83,7 @@ describe('Test video comments', function () {
     expect(comment.account.name).to.equal('root')
     expect(comment.account.host).to.equal('localhost:9001')
 
-    const test = await testImage(server.url, 'avatar-resized', comment.account.avatar.path, '.png')
-    expect(test).to.equal(true)
+    await testImage(server.url, 'avatar-resized', comment.account.avatar.path, '.png')
 
     expect(comment.totalReplies).to.equal(0)
     expect(dateIsValid(comment.createdAt as string)).to.be.true