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/search/search-index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server/tests/api/search/search-index.ts') diff --git a/server/tests/api/search/search-index.ts b/server/tests/api/search/search-index.ts index 53b91e1cb..ece6c0475 100644 --- a/server/tests/api/search/search-index.ts +++ b/server/tests/api/search/search-index.ts @@ -1,8 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' import * as chai from 'chai' -import { cleanupTests, createSingleServer, PeerTubeServer, SearchCommand, setAccessTokensToServers } from '@shared/server-commands' import { BooleanBothQuery, VideoChannelsSearchQuery, @@ -11,6 +9,7 @@ import { VideoPlaylistType, VideosSearchQuery } from '@shared/models' +import { cleanupTests, createSingleServer, PeerTubeServer, SearchCommand, setAccessTokensToServers } from '@shared/server-commands' const expect = chai.expect -- cgit v1.2.3