aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/search/search-index.ts
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/search/search-index.ts
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/search/search-index.ts')
-rw-r--r--server/tests/api/search/search-index.ts3
1 files changed, 1 insertions, 2 deletions
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 @@
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 { cleanupTests, createSingleServer, PeerTubeServer, SearchCommand, setAccessTokensToServers } from '@shared/server-commands'
6import { 4import {
7 BooleanBothQuery, 5 BooleanBothQuery,
8 VideoChannelsSearchQuery, 6 VideoChannelsSearchQuery,
@@ -11,6 +9,7 @@ import {
11 VideoPlaylistType, 9 VideoPlaylistType,
12 VideosSearchQuery 10 VideosSearchQuery
13} from '@shared/models' 11} from '@shared/models'
12import { cleanupTests, createSingleServer, PeerTubeServer, SearchCommand, setAccessTokensToServers } from '@shared/server-commands'
14 13
15const expect = chai.expect 14const expect = chai.expect
16 15