From e0faa8ad6e18ce6248ef1ec93a59dab5b05be468 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 17 Aug 2022 15:40:57 +0200 Subject: We don't need to import mocha --- server/tests/api/users/user-subscriptions.ts | 1 - server/tests/api/users/user-videos.ts | 1 - server/tests/api/users/users-multiple-servers.ts | 1 - server/tests/api/users/users-verification.ts | 1 - server/tests/api/users/users.ts | 1 - 5 files changed, 5 deletions(-) (limited to 'server/tests/api/users') 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 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' import * as chai from 'chai' import { VideoPrivacy } from '@shared/models' 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 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' import * as chai from 'chai' import { HttpStatusCode } from '@shared/models' 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 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' import * as chai from 'chai' import { 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 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' import * as chai from 'chai' import { MockSmtpServer } from '@server/tests/shared' 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 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' import * as chai from 'chai' import { testImage } from '@server/tests/shared' import { AbuseState, HttpStatusCode, OAuth2ErrorCode, UserAdminFlag, UserRole, VideoPlaylistType } from '@shared/models' -- cgit v1.2.3