]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/videos/videos-overview.ts
Fix reset sequelize instance
[github/Chocobozzz/PeerTube.git] / server / tests / api / videos / videos-overview.ts
index 5159e82487963d881d9fcc324676184a7743aa2c..6e723c5101b2e0f53cdcf4a6f124c6b8276f059d 100644 (file)
@@ -1,12 +1,10 @@
 /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
 
-import * as chai from 'chai'
+import { expect } from 'chai'
 import { wait } from '@shared/core-utils'
 import { VideosOverview } from '@shared/models'
 import { cleanupTests, createSingleServer, PeerTubeServer, setAccessTokensToServers } from '@shared/server-commands'
 
-const expect = chai.expect
-
 describe('Test a videos overview', function () {
   let server: PeerTubeServer = null
 
@@ -31,7 +29,7 @@ describe('Test a videos overview', function () {
   })
 
   it('Should upload 5 videos in a specific category, tag and channel but not include them in overview', async function () {
-    this.timeout(30000)
+    this.timeout(60000)
 
     await wait(3000)
 
@@ -49,7 +47,7 @@ describe('Test a videos overview', function () {
   })
 
   it('Should upload another video and include all videos in the overview', async function () {
-    this.timeout(30000)
+    this.timeout(60000)
 
     {
       for (let i = 1; i < 6; i++) {