diff options
Diffstat (limited to 'server/tests/api/object-storage/live.ts')
-rw-r--r-- | server/tests/api/object-storage/live.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/tests/api/object-storage/live.ts b/server/tests/api/object-storage/live.ts index 94fff8f6b..0958ffe0f 100644 --- a/server/tests/api/object-storage/live.ts +++ b/server/tests/api/object-storage/live.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 | ||
3 | import * as chai from 'chai' | 3 | import { expect } from 'chai' |
4 | import { expectStartWith } from '@server/tests/shared' | 4 | import { expectStartWith } from '@server/tests/shared' |
5 | import { areObjectStorageTestsDisabled } from '@shared/core-utils' | 5 | import { areObjectStorageTestsDisabled } from '@shared/core-utils' |
6 | import { HttpStatusCode, LiveVideoCreate, VideoFile, VideoPrivacy } from '@shared/models' | 6 | import { HttpStatusCode, LiveVideoCreate, VideoFile, VideoPrivacy } from '@shared/models' |
@@ -21,8 +21,6 @@ import { | |||
21 | waitUntilLiveWaitingOnAllServers | 21 | waitUntilLiveWaitingOnAllServers |
22 | } from '@shared/server-commands' | 22 | } from '@shared/server-commands' |
23 | 23 | ||
24 | const expect = chai.expect | ||
25 | |||
26 | async function createLive (server: PeerTubeServer, permanent: boolean) { | 24 | async function createLive (server: PeerTubeServer, permanent: boolean) { |
27 | const attributes: LiveVideoCreate = { | 25 | const attributes: LiveVideoCreate = { |
28 | channelId: server.store.channel.id, | 26 | channelId: server.store.channel.id, |