diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-17 13:58:07 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-17 13:58:07 +0100 |
commit | f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1 (patch) | |
tree | 5d2b8e1c0e3ec05ad3e18cb59fe9ad84fac710eb /server/tests/shared | |
parent | c55e3d7227fe1453869e309025996b9d75256d5d (diff) | |
download | PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.tar.gz PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.tar.zst PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.zip |
Fix build
Diffstat (limited to 'server/tests/shared')
-rw-r--r-- | server/tests/shared/streaming-playlists.ts | 2 | ||||
-rw-r--r-- | server/tests/shared/tracker.ts | 2 |
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 @@ | |||
1 | import { expect } from 'chai' | 1 | import { expect } from 'chai' |
2 | import { basename } from 'path' | 2 | import { basename } from 'path' |
3 | import { removeFragmentedMP4Ext } from '@shared/core-utils' | 3 | import { removeFragmentedMP4Ext } from '@shared/core-utils' |
4 | import { sha256 } from '@shared/core-utils/common/crypto' | 4 | import { sha256 } from '@shared/extra-utils' |
5 | import { HttpStatusCode, VideoStreamingPlaylist } from '@shared/models' | 5 | import { HttpStatusCode, VideoStreamingPlaylist } from '@shared/models' |
6 | import { PeerTubeServer } from '@shared/server-commands' | 6 | import { 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 @@ | |||
1 | import { expect } from 'chai' | 1 | import { expect } from 'chai' |
2 | import { sha1 } from '@shared/core-utils' | 2 | import { sha1 } from '@shared/extra-utils' |
3 | import { makeGetRequest } from '@shared/server-commands' | 3 | import { makeGetRequest } from '@shared/server-commands' |
4 | 4 | ||
5 | async function hlsInfohashExist (serverUrl: string, masterPlaylistUrl: string, fileNumber: number) { | 5 | async function hlsInfohashExist (serverUrl: string, masterPlaylistUrl: string, fileNumber: number) { |