diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-17 15:40:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-17 15:40:57 +0200 |
commit | e0faa8ad6e18ce6248ef1ec93a59dab5b05be468 (patch) | |
tree | ca1cd02b34234a1eb6779d04f24bba73313c9739 /server/tests/api/users | |
parent | 690bb8f9f3413147a4f71d5ff0a3cd8170a94ce3 (diff) | |
download | PeerTube-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.ts | 1 | ||||
-rw-r--r-- | server/tests/api/users/user-videos.ts | 1 | ||||
-rw-r--r-- | server/tests/api/users/users-multiple-servers.ts | 1 | ||||
-rw-r--r-- | server/tests/api/users/users-verification.ts | 1 | ||||
-rw-r--r-- | server/tests/api/users/users.ts | 1 |
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 | ||
3 | import 'mocha' | ||
4 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
5 | import { VideoPrivacy } from '@shared/models' | 4 | import { VideoPrivacy } from '@shared/models' |
6 | import { | 5 | import { |
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 | ||
3 | import 'mocha' | ||
4 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
5 | import { HttpStatusCode } from '@shared/models' | 4 | import { HttpStatusCode } from '@shared/models' |
6 | import { | 5 | import { |
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 | ||
3 | import 'mocha' | ||
4 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
5 | import { | 4 | import { |
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 | ||
3 | import 'mocha' | ||
4 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
5 | import { MockSmtpServer } from '@server/tests/shared' | 4 | import { MockSmtpServer } from '@server/tests/shared' |
6 | import { HttpStatusCode } from '@shared/models' | 5 | import { 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 | ||
3 | import 'mocha' | ||
4 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
5 | import { testImage } from '@server/tests/shared' | 4 | import { testImage } from '@server/tests/shared' |
6 | import { AbuseState, HttpStatusCode, OAuth2ErrorCode, UserAdminFlag, UserRole, VideoPlaylistType } from '@shared/models' | 5 | import { AbuseState, HttpStatusCode, OAuth2ErrorCode, UserAdminFlag, UserRole, VideoPlaylistType } from '@shared/models' |