From c106db14136f1701a8b1eab8d7152395225e55e4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 10 May 2023 16:23:55 +0200 Subject: Fix tests --- server/tests/api/videos/video-channel-syncs.ts | 2 +- server/tests/api/videos/video-channels.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/api/videos') diff --git a/server/tests/api/videos/video-channel-syncs.ts b/server/tests/api/videos/video-channel-syncs.ts index 12c2c158e..7f688c7d6 100644 --- a/server/tests/api/videos/video-channel-syncs.ts +++ b/server/tests/api/videos/video-channel-syncs.ts @@ -23,7 +23,7 @@ describe('Test channel synchronizations', function () { describe('Sync using ' + mode, function () { let servers: PeerTubeServer[] - let sqlCommands: SQLCommand[] + let sqlCommands: SQLCommand[] = [] let startTestDate: Date diff --git a/server/tests/api/videos/video-channels.ts b/server/tests/api/videos/video-channels.ts index c82ad6f16..8e2b7937c 100644 --- a/server/tests/api/videos/video-channels.ts +++ b/server/tests/api/videos/video-channels.ts @@ -25,7 +25,7 @@ async function findChannel (server: PeerTubeServer, channelId: number) { describe('Test video channels', function () { let servers: PeerTubeServer[] - let sqlCommands: SQLCommand[] + let sqlCommands: SQLCommand[] = [] let userInfo: User let secondVideoChannelId: number -- cgit v1.2.3