/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
-import 'mocha'
-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
})
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)
})
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++) {