diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-16 14:27:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:19 +0200 |
commit | 4c7e60bc17ee5830399bac4aa273356903421b4c (patch) | |
tree | 9e67397cf49b229b5bc0f9747f1a7e387bba558a /server/tests/api/live/live.ts | |
parent | c0e8b12e7fd554ba4d2ceb0c4900804c6a4c63ea (diff) | |
download | PeerTube-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.ts | 15 |
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' | |||
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { join } from 'path' | 5 | import { join } from 'path' |
6 | import { ffprobePromise, getVideoStreamFromFile } from '@server/helpers/ffprobe-utils' | 6 | import { ffprobePromise, getVideoStreamFromFile } from '@server/helpers/ffprobe-utils' |
7 | import { HttpStatusCode } from '@shared/models' | ||
8 | import { | 7 | import { |
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' |
29 | import { LiveVideo, LiveVideoCreate, VideoDetails, VideoPrivacy, VideoState, VideoStreamingPlaylistType } from '@shared/models' | 28 | import { |
29 | HttpStatusCode, | ||
30 | LiveVideo, | ||
31 | LiveVideoCreate, | ||
32 | VideoDetails, | ||
33 | VideoPrivacy, | ||
34 | VideoState, | ||
35 | VideoStreamingPlaylistType | ||
36 | } from '@shared/models' | ||
30 | 37 | ||
31 | const expect = chai.expect | 38 | const expect = chai.expect |
32 | 39 | ||