aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/redundancy
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-17 15:44:32 +0200
committerChocobozzz <me@florianbigard.com>2022-08-17 15:47:54 +0200
commit863477173efa82a4412d2e522aa46462249f9199 (patch)
tree40f0ae28691780d79acef5ba4dbd2ef0694ce8ff /server/tests/api/redundancy
parente0faa8ad6e18ce6248ef1ec93a59dab5b05be468 (diff)
downloadPeerTube-863477173efa82a4412d2e522aa46462249f9199.tar.gz
PeerTube-863477173efa82a4412d2e522aa46462249f9199.tar.zst
PeerTube-863477173efa82a4412d2e522aa46462249f9199.zip
Cleanup tests imports
Diffstat (limited to 'server/tests/api/redundancy')
-rw-r--r--server/tests/api/redundancy/manage-redundancy.ts4
-rw-r--r--server/tests/api/redundancy/redundancy.ts4
2 files changed, 2 insertions, 6 deletions
diff --git a/server/tests/api/redundancy/manage-redundancy.ts b/server/tests/api/redundancy/manage-redundancy.ts
index b607900f8..404b65a99 100644
--- a/server/tests/api/redundancy/manage-redundancy.ts
+++ b/server/tests/api/redundancy/manage-redundancy.ts
@@ -1,6 +1,6 @@
1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ 1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
2 2
3import * as chai from 'chai' 3import { expect } from 'chai'
4import { 4import {
5 cleanupTests, 5 cleanupTests,
6 createMultipleServers, 6 createMultipleServers,
@@ -12,8 +12,6 @@ import {
12} from '@shared/server-commands' 12} from '@shared/server-commands'
13import { VideoPrivacy, VideoRedundanciesTarget } from '@shared/models' 13import { VideoPrivacy, VideoRedundanciesTarget } from '@shared/models'
14 14
15const expect = chai.expect
16
17describe('Test manage videos redundancy', function () { 15describe('Test manage videos redundancy', function () {
18 const targets: VideoRedundanciesTarget[] = [ 'my-videos', 'remote-videos' ] 16 const targets: VideoRedundanciesTarget[] = [ 'my-videos', 'remote-videos' ]
19 17
diff --git a/server/tests/api/redundancy/redundancy.ts b/server/tests/api/redundancy/redundancy.ts
index cc150e02e..5abed358f 100644
--- a/server/tests/api/redundancy/redundancy.ts
+++ b/server/tests/api/redundancy/redundancy.ts
@@ -1,6 +1,6 @@
1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ 1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
2 2
3import * as chai from 'chai' 3import { expect } from 'chai'
4import { readdir } from 'fs-extra' 4import { readdir } from 'fs-extra'
5import magnetUtil from 'magnet-uri' 5import magnetUtil from 'magnet-uri'
6import { basename, join } from 'path' 6import { basename, join } from 'path'
@@ -25,8 +25,6 @@ import {
25 waitJobs 25 waitJobs
26} from '@shared/server-commands' 26} from '@shared/server-commands'
27 27
28const expect = chai.expect
29
30let servers: PeerTubeServer[] = [] 28let servers: PeerTubeServer[] = []
31let video1Server2: VideoDetails 29let video1Server2: VideoDetails
32 30