aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-16 14:27:30 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:19 +0200
commit4c7e60bc17ee5830399bac4aa273356903421b4c (patch)
tree9e67397cf49b229b5bc0f9747f1a7e387bba558a /server/tests/api/live/live.ts
parentc0e8b12e7fd554ba4d2ceb0c4900804c6a4c63ea (diff)
downloadPeerTube-4c7e60bc17ee5830399bac4aa273356903421b4c.tar.gz
PeerTube-4c7e60bc17ee5830399bac4aa273356903421b4c.tar.zst
PeerTube-4c7e60bc17ee5830399bac4aa273356903421b4c.zip
Reorganize imports
Diffstat (limited to 'server/tests/api/live/live.ts')
-rw-r--r--server/tests/api/live/live.ts15
1 files changed, 11 insertions, 4 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index 88995910c..4676a840a 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -4,19 +4,18 @@ import 'mocha'
4import * as chai from 'chai' 4import * as chai from 'chai'
5import { join } from 'path' 5import { join } from 'path'
6import { ffprobePromise, getVideoStreamFromFile } from '@server/helpers/ffprobe-utils' 6import { ffprobePromise, getVideoStreamFromFile } from '@server/helpers/ffprobe-utils'
7import { HttpStatusCode } from '@shared/models'
8import { 7import {
9 checkLiveCleanup, 8 checkLiveCleanup,
10 checkLiveSegmentHash, 9 checkLiveSegmentHash,
11 checkResolutionsInMasterPlaylist, 10 checkResolutionsInMasterPlaylist,
12 cleanupTests, 11 cleanupTests,
13 doubleFollow,
14 createMultipleServers, 12 createMultipleServers,
13 doubleFollow,
15 killallServers, 14 killallServers,
16 LiveCommand, 15 LiveCommand,
17 makeRawRequest, 16 makeRawRequest,
18 sendRTMPStream,
19 PeerTubeServer, 17 PeerTubeServer,
18 sendRTMPStream,
20 setAccessTokensToServers, 19 setAccessTokensToServers,
21 setDefaultVideoChannel, 20 setDefaultVideoChannel,
22 stopFfmpeg, 21 stopFfmpeg,
@@ -26,7 +25,15 @@ import {
26 waitJobs, 25 waitJobs,
27 waitUntilLivePublishedOnAllServers 26 waitUntilLivePublishedOnAllServers
28} from '@shared/extra-utils' 27} from '@shared/extra-utils'
29import { LiveVideo, LiveVideoCreate, VideoDetails, VideoPrivacy, VideoState, VideoStreamingPlaylistType } from '@shared/models' 28import {
29 HttpStatusCode,
30 LiveVideo,
31 LiveVideoCreate,
32 VideoDetails,
33 VideoPrivacy,
34 VideoState,
35 VideoStreamingPlaylistType
36} from '@shared/models'
30 37
31const expect = chai.expect 38const expect = chai.expect
32 39