1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Cleanup tests imports

This commit is contained in:
Chocobozzz 2022-08-17 15:44:32 +02:00
parent e0faa8ad6e
commit 863477173e
No known key found for this signature in database
GPG key ID: 583A612D890159BE
103 changed files with 106 additions and 304 deletions

View file

@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
import * as chai from 'chai'
import { expect } from 'chai'
import { checkResolutionsInMasterPlaylist, expectStartWith } from '@server/tests/shared'
import { areObjectStorageTestsDisabled } from '@shared/core-utils'
import { HttpStatusCode, VideoDetails } from '@shared/models'
@ -17,8 +17,6 @@ import {
waitJobs
} from '@shared/server-commands'
const expect = chai.expect
async function checkFilesInObjectStorage (video: VideoDetails) {
for (const file of video.files) {
expectStartWith(file.fileUrl, ObjectStorageCommand.getWebTorrentBaseUrl())