aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live-save-replay.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-07 11:53:46 +0200
committerChocobozzz <me@florianbigard.com>2021-05-07 11:53:46 +0200
commita1bb73f9b591686b2ddfeb3291f305dae9f7fc6c (patch)
tree0386b60da767075a890d45d947a6805ca32fd742 /server/tests/api/live/live-save-replay.ts
parentbc4c9cc1d75d591c217d61ab22a107b7f1044c76 (diff)
downloadPeerTube-a1bb73f9b591686b2ddfeb3291f305dae9f7fc6c.tar.gz
PeerTube-a1bb73f9b591686b2ddfeb3291f305dae9f7fc6c.tar.zst
PeerTube-a1bb73f9b591686b2ddfeb3291f305dae9f7fc6c.zip
Refactor a little bit live tests
Diffstat (limited to 'server/tests/api/live/live-save-replay.ts')
-rw-r--r--server/tests/api/live/live-save-replay.ts11
1 files changed, 2 insertions, 9 deletions
diff --git a/server/tests/api/live/live-save-replay.ts b/server/tests/api/live/live-save-replay.ts
index 61c8e74dd..3d4736c8f 100644
--- a/server/tests/api/live/live-save-replay.ts
+++ b/server/tests/api/live/live-save-replay.ts
@@ -12,6 +12,7 @@ import {
12 createLive, 12 createLive,
13 doubleFollow, 13 doubleFollow,
14 flushAndRunMultipleServers, 14 flushAndRunMultipleServers,
15 getCustomConfigResolutions,
15 getVideo, 16 getVideo,
16 getVideosList, 17 getVideosList,
17 removeVideo, 18 removeVideo,
@@ -108,15 +109,7 @@ describe('Save replay setting', function () {
108 maxDuration: -1, 109 maxDuration: -1,
109 transcoding: { 110 transcoding: {
110 enabled: false, 111 enabled: false,
111 resolutions: { 112 resolutions: getCustomConfigResolutions(true)
112 '240p': true,
113 '360p': true,
114 '480p': true,
115 '720p': true,
116 '1080p': true,
117 '1440p': true,
118 '2160p': true
119 }
120 } 113 }
121 } 114 }
122 }) 115 })