aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-17 13:58:07 +0100
committerChocobozzz <me@florianbigard.com>2021-12-17 13:58:07 +0100
commitf304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1 (patch)
tree5d2b8e1c0e3ec05ad3e18cb59fe9ad84fac710eb /server/tests
parentc55e3d7227fe1453869e309025996b9d75256d5d (diff)
downloadPeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.tar.gz
PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.tar.zst
PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.zip
Fix build
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/shared/streaming-playlists.ts2
-rw-r--r--server/tests/shared/tracker.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/shared/streaming-playlists.ts b/server/tests/shared/streaming-playlists.ts
index 738dc90e1..7ca707f2e 100644
--- a/server/tests/shared/streaming-playlists.ts
+++ b/server/tests/shared/streaming-playlists.ts
@@ -1,7 +1,7 @@
1import { expect } from 'chai' 1import { expect } from 'chai'
2import { basename } from 'path' 2import { basename } from 'path'
3import { removeFragmentedMP4Ext } from '@shared/core-utils' 3import { removeFragmentedMP4Ext } from '@shared/core-utils'
4import { sha256 } from '@shared/core-utils/common/crypto' 4import { sha256 } from '@shared/extra-utils'
5import { HttpStatusCode, VideoStreamingPlaylist } from '@shared/models' 5import { HttpStatusCode, VideoStreamingPlaylist } from '@shared/models'
6import { PeerTubeServer } from '@shared/server-commands' 6import { PeerTubeServer } from '@shared/server-commands'
7 7
diff --git a/server/tests/shared/tracker.ts b/server/tests/shared/tracker.ts
index 699895d5f..9c1f0246a 100644
--- a/server/tests/shared/tracker.ts
+++ b/server/tests/shared/tracker.ts
@@ -1,5 +1,5 @@
1import { expect } from 'chai' 1import { expect } from 'chai'
2import { sha1 } from '@shared/core-utils' 2import { sha1 } from '@shared/extra-utils'
3import { makeGetRequest } from '@shared/server-commands' 3import { makeGetRequest } from '@shared/server-commands'
4 4
5async function hlsInfohashExist (serverUrl: string, masterPlaylistUrl: string, fileNumber: number) { 5async function hlsInfohashExist (serverUrl: string, masterPlaylistUrl: string, fileNumber: number) {