import 'mocha'
import * as chai from 'chai'
+import { completeVideoCheck } from '@server/tests/shared'
+import { wait } from '@shared/core-utils'
+import { HttpStatusCode, JobState, VideoCreateResult, VideoPrivacy } from '@shared/models'
import {
cleanupTests,
CommentsCommand,
killallServers,
PeerTubeServer,
setAccessTokensToServers,
- wait,
waitJobs
-} from '@shared/extra-utils'
-import { HttpStatusCode, JobState, VideoCreateResult, VideoPrivacy } from '@shared/models'
-import { completeVideoCheck } from '@server/tests/shared/video'
+} from '@shared/server-commands'
const expect = chai.expect
let commentCommands: CommentsCommand[]
before(async function () {
- this.timeout(30000)
+ this.timeout(120000)
servers = await createMultipleServers(3)
commentCommands = servers.map(s => s.comments)