]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/videos/videos-overview.ts
Improve remote runner config UX
[github/Chocobozzz/PeerTube.git] / server / tests / api / videos / videos-overview.ts
index 08a4efb6341b1e1f107fa403e9008ada8d018f69..6e723c5101b2e0f53cdcf4a6f124c6b8276f059d 100644 (file)
@@ -1,11 +1,9 @@
 /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
 
-import 'mocha'
-import * as chai from 'chai'
-import { cleanupTests, createSingleServer, PeerTubeServer, setAccessTokensToServers, wait } from '@shared/server-commands'
+import { expect } from 'chai'
+import { wait } from '@shared/core-utils'
 import { VideosOverview } from '@shared/models'
-
-const expect = chai.expect
+import { cleanupTests, createSingleServer, PeerTubeServer, setAccessTokensToServers } from '@shared/server-commands'
 
 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++) {