X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fvideos%2Fvideo-change-ownership.ts;h=e9ef674931ff38b6b11d28d978b0abb6a45bd8ed;hb=b1dbb9fefc870a90b25f5c0153589f45c9e75e3e;hp=d6665fe4e89d5ad9a91b00f0e476ed7f5bb73bbf;hpb=421ff4618da64f0849353383f690a014024c40da;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/videos/video-change-ownership.ts b/server/tests/api/videos/video-change-ownership.ts index d6665fe4e..e9ef67493 100644 --- a/server/tests/api/videos/video-change-ownership.ts +++ b/server/tests/api/videos/video-change-ownership.ts @@ -1,7 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' -import * as chai from 'chai' +import { expect } from 'chai' import { ChangeOwnershipCommand, cleanupTests, @@ -12,11 +11,9 @@ import { setAccessTokensToServers, setDefaultVideoChannel, waitJobs -} from '@shared/extra-utils' +} from '@shared/server-commands' import { HttpStatusCode, VideoPrivacy } from '@shared/models' -const expect = chai.expect - describe('Test video change ownership - nominal', function () { let servers: PeerTubeServer[] = []