/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
-import * as chai from 'chai'
+import { expect } from 'chai'
import { wait } from '@shared/core-utils'
import { HttpStatusCode, VideoCreateResult, VideoPrivacy } from '@shared/models'
import { cleanupTests, createSingleServer, doubleFollow, PeerTubeServer, setAccessTokensToServers, waitJobs } from '@shared/server-commands'
-const expect = chai.expect
-
describe('Test video privacy', function () {
const servers: PeerTubeServer[] = []
let anotherUserToken: string
describe('Private and internal videos', function () {
it('Should upload a private and internal videos on server 1', async function () {
- this.timeout(10000)
+ this.timeout(50000)
for (const privacy of [ VideoPrivacy.PRIVATE, VideoPrivacy.INTERNAL ]) {
const attributes = { privacy }
describe('Unlisted videos', function () {
it('Should upload an unlisted video on server 2', async function () {
- this.timeout(60000)
+ this.timeout(120000)
const attributes = {
name: 'unlisted video',