/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
-import * as chai from 'chai'
+import { expect } from 'chai'
import { checkPlaylistFilesWereRemoved, testImage } from '@server/tests/shared'
import { wait } from '@shared/core-utils'
import {
waitJobs
} from '@shared/server-commands'
-const expect = chai.expect
-
async function checkPlaylistElementType (
servers: PeerTubeServer[],
playlistId: string,
let commands: PlaylistsCommand[]
before(async function () {
- this.timeout(120000)
+ this.timeout(240000)
servers = await createMultipleServers(3)
this.timeout(30000)
for (const server of servers) {
- await checkPlaylistFilesWereRemoved(playlistServer1UUID, server.internalServerNumber)
+ await checkPlaylistFilesWereRemoved(playlistServer1UUID, server)
}
})