aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/views
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-17 15:40:57 +0200
committerChocobozzz <me@florianbigard.com>2022-08-17 15:40:57 +0200
commite0faa8ad6e18ce6248ef1ec93a59dab5b05be468 (patch)
treeca1cd02b34234a1eb6779d04f24bba73313c9739 /server/tests/api/views
parent690bb8f9f3413147a4f71d5ff0a3cd8170a94ce3 (diff)
downloadPeerTube-e0faa8ad6e18ce6248ef1ec93a59dab5b05be468.tar.gz
PeerTube-e0faa8ad6e18ce6248ef1ec93a59dab5b05be468.tar.zst
PeerTube-e0faa8ad6e18ce6248ef1ec93a59dab5b05be468.zip
We don't need to import mocha
Diffstat (limited to 'server/tests/api/views')
-rw-r--r--server/tests/api/views/video-views-counter.ts1
-rw-r--r--server/tests/api/views/video-views-overall-stats.ts1
-rw-r--r--server/tests/api/views/video-views-retention-stats.ts1
-rw-r--r--server/tests/api/views/video-views-timeserie-stats.ts1
-rw-r--r--server/tests/api/views/videos-views-cleaner.ts1
5 files changed, 0 insertions, 5 deletions
diff --git a/server/tests/api/views/video-views-counter.ts b/server/tests/api/views/video-views-counter.ts
index 42ef41fb3..9ade1dc0c 100644
--- a/server/tests/api/views/video-views-counter.ts
+++ b/server/tests/api/views/video-views-counter.ts
@@ -1,6 +1,5 @@
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 'mocha'
4import * as chai from 'chai' 3import * as chai from 'chai'
5import { FfmpegCommand } from 'fluent-ffmpeg' 4import { FfmpegCommand } from 'fluent-ffmpeg'
6import { prepareViewsServers, prepareViewsVideos, processViewsBuffer } from '@server/tests/shared' 5import { prepareViewsServers, prepareViewsVideos, processViewsBuffer } from '@server/tests/shared'
diff --git a/server/tests/api/views/video-views-overall-stats.ts b/server/tests/api/views/video-views-overall-stats.ts
index 25e488b91..b21d70c0b 100644
--- a/server/tests/api/views/video-views-overall-stats.ts
+++ b/server/tests/api/views/video-views-overall-stats.ts
@@ -1,6 +1,5 @@
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 'mocha'
4import * as chai from 'chai' 3import * as chai from 'chai'
5import { FfmpegCommand } from 'fluent-ffmpeg' 4import { FfmpegCommand } from 'fluent-ffmpeg'
6import { prepareViewsServers, prepareViewsVideos, processViewersStats } from '@server/tests/shared' 5import { prepareViewsServers, prepareViewsVideos, processViewersStats } from '@server/tests/shared'
diff --git a/server/tests/api/views/video-views-retention-stats.ts b/server/tests/api/views/video-views-retention-stats.ts
index a27141d68..307d6de07 100644
--- a/server/tests/api/views/video-views-retention-stats.ts
+++ b/server/tests/api/views/video-views-retention-stats.ts
@@ -1,6 +1,5 @@
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 'mocha'
4import * as chai from 'chai' 3import * as chai from 'chai'
5import { prepareViewsServers, prepareViewsVideos, processViewersStats } from '@server/tests/shared' 4import { prepareViewsServers, prepareViewsVideos, processViewersStats } from '@server/tests/shared'
6import { cleanupTests, PeerTubeServer } from '@shared/server-commands' 5import { cleanupTests, PeerTubeServer } from '@shared/server-commands'
diff --git a/server/tests/api/views/video-views-timeserie-stats.ts b/server/tests/api/views/video-views-timeserie-stats.ts
index 6f03b0e82..d6c89a63e 100644
--- a/server/tests/api/views/video-views-timeserie-stats.ts
+++ b/server/tests/api/views/video-views-timeserie-stats.ts
@@ -1,6 +1,5 @@
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 'mocha'
4import * as chai from 'chai' 3import * as chai from 'chai'
5import { FfmpegCommand } from 'fluent-ffmpeg' 4import { FfmpegCommand } from 'fluent-ffmpeg'
6import { prepareViewsServers, prepareViewsVideos, processViewersStats } from '@server/tests/shared' 5import { prepareViewsServers, prepareViewsVideos, processViewersStats } from '@server/tests/shared'
diff --git a/server/tests/api/views/videos-views-cleaner.ts b/server/tests/api/views/videos-views-cleaner.ts
index ef988837f..e28f82668 100644
--- a/server/tests/api/views/videos-views-cleaner.ts
+++ b/server/tests/api/views/videos-views-cleaner.ts
@@ -1,6 +1,5 @@
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 'mocha'
4import * as chai from 'chai' 3import * as chai from 'chai'
5import { wait } from '@shared/core-utils' 4import { wait } from '@shared/core-utils'
6import { 5import {