aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users
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/users
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/users')
-rw-r--r--server/tests/api/users/user-subscriptions.ts1
-rw-r--r--server/tests/api/users/user-videos.ts1
-rw-r--r--server/tests/api/users/users-multiple-servers.ts1
-rw-r--r--server/tests/api/users/users-verification.ts1
-rw-r--r--server/tests/api/users/users.ts1
5 files changed, 0 insertions, 5 deletions
diff --git a/server/tests/api/users/user-subscriptions.ts b/server/tests/api/users/user-subscriptions.ts
index 9553a69bb..c024fa75c 100644
--- a/server/tests/api/users/user-subscriptions.ts
+++ b/server/tests/api/users/user-subscriptions.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 { VideoPrivacy } from '@shared/models' 4import { VideoPrivacy } from '@shared/models'
6import { 5import {
diff --git a/server/tests/api/users/user-videos.ts b/server/tests/api/users/user-videos.ts
index 2f5dd1c3e..87040d2e4 100644
--- a/server/tests/api/users/user-videos.ts
+++ b/server/tests/api/users/user-videos.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 { HttpStatusCode } from '@shared/models' 4import { HttpStatusCode } from '@shared/models'
6import { 5import {
diff --git a/server/tests/api/users/users-multiple-servers.ts b/server/tests/api/users/users-multiple-servers.ts
index 3e8b932c0..d1b9f76f9 100644
--- a/server/tests/api/users/users-multiple-servers.ts
+++ b/server/tests/api/users/users-multiple-servers.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 { 4import {
6 checkActorFilesWereRemoved, 5 checkActorFilesWereRemoved,
diff --git a/server/tests/api/users/users-verification.ts b/server/tests/api/users/users-verification.ts
index 0f3cc401a..3d657f73e 100644
--- a/server/tests/api/users/users-verification.ts
+++ b/server/tests/api/users/users-verification.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 { MockSmtpServer } from '@server/tests/shared' 4import { MockSmtpServer } from '@server/tests/shared'
6import { HttpStatusCode } from '@shared/models' 5import { HttpStatusCode } from '@shared/models'
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index 1edbb371a..3fd68cfe6 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.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 { testImage } from '@server/tests/shared' 4import { testImage } from '@server/tests/shared'
6import { AbuseState, HttpStatusCode, OAuth2ErrorCode, UserAdminFlag, UserRole, VideoPlaylistType } from '@shared/models' 5import { AbuseState, HttpStatusCode, OAuth2ErrorCode, UserAdminFlag, UserRole, VideoPlaylistType } from '@shared/models'