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 { areObjectStorageTestsDisabled } from '@shared/core-utils'
import { HttpStatusCode, VideoFile } from '@shared/models'
import {
@ -15,8 +15,6 @@ import {
} from '@shared/server-commands'
import { checkResolutionsInMasterPlaylist, expectStartWith } from '../shared'
const expect = chai.expect
async function checkFilesInObjectStorage (files: VideoFile[], type: 'webtorrent' | 'playlist') {
for (const file of files) {
const shouldStartWith = type === 'webtorrent'