aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/moderation/blocklist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/moderation/blocklist.ts')
-rw-r--r--server/tests/api/moderation/blocklist.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/tests/api/moderation/blocklist.ts b/server/tests/api/moderation/blocklist.ts
index ef2c5d7f3..27592e8c5 100644
--- a/server/tests/api/moderation/blocklist.ts
+++ b/server/tests/api/moderation/blocklist.ts
@@ -1,6 +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 * as chai from 'chai' 3import { expect } from 'chai'
4import { UserNotificationType } from '@shared/models' 4import { UserNotificationType } from '@shared/models'
5import { 5import {
6 BlocklistCommand, 6 BlocklistCommand,
@@ -14,8 +14,6 @@ import {
14 waitJobs 14 waitJobs
15} from '@shared/server-commands' 15} from '@shared/server-commands'
16 16
17const expect = chai.expect
18
19async function checkAllVideos (server: PeerTubeServer, token: string) { 17async function checkAllVideos (server: PeerTubeServer, token: string) {
20 { 18 {
21 const { data } = await server.videos.listWithToken({ token }) 19 const { data } = await server.videos.listWithToken({ token })