aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live-constraints.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/live/live-constraints.ts')
-rw-r--r--server/tests/api/live/live-constraints.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/tests/api/live/live-constraints.ts b/server/tests/api/live/live-constraints.ts
index c82585a9e..fabb8798d 100644
--- a/server/tests/api/live/live-constraints.ts
+++ b/server/tests/api/live/live-constraints.ts
@@ -24,10 +24,7 @@ describe('Test live constraints', function () {
24 let userAccessToken: string 24 let userAccessToken: string
25 let userChannelId: number 25 let userChannelId: number
26 26
27 async function createLiveWrapper (options: { 27 async function createLiveWrapper (options: { replay: boolean, permanent: boolean }) {
28 replay: boolean
29 permanent: boolean
30 }) {
31 const { replay, permanent } = options 28 const { replay, permanent } = options
32 29
33 const liveAttributes = { 30 const liveAttributes = {
@@ -35,6 +32,7 @@ describe('Test live constraints', function () {
35 channelId: userChannelId, 32 channelId: userChannelId,
36 privacy: VideoPrivacy.PUBLIC, 33 privacy: VideoPrivacy.PUBLIC,
37 saveReplay: replay, 34 saveReplay: replay,
35 replaySettings: options.replay ? { privacy: VideoPrivacy.PUBLIC } : undefined,
38 permanentLive: permanent 36 permanentLive: permanent
39 } 37 }
40 38