/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
-import * as chai from 'chai'
+import { expect } from 'chai'
import { checkVideoFilesWereRemoved, completeVideoCheck, testImage } from '@server/tests/shared'
import { wait } from '@shared/core-utils'
import { Video, VideoPrivacy } from '@shared/models'
waitJobs
} from '@shared/server-commands'
-const expect = chai.expect
-
describe('Test a single server', function () {
function runSuite (mode: 'legacy' | 'resumable') {
support: 'my super support text',
account: {
name: 'root',
- host: 'localhost:' + server.port
+ host: server.host
},
isLocal: true,
duration: 5,
support: 'my super support text updated',
account: {
name: 'root',
- host: 'localhost:' + server.port
+ host: server.host
},
isLocal: true,
tags: [ 'tagup1', 'tagup2' ],