mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Reimplement a typed omit function
This commit is contained in:
parent
a85d530384
commit
bbd5aa7ead
17 changed files with 67 additions and 78 deletions
|
@ -1,11 +1,9 @@
|
|||
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
||||
|
||||
import 'mocha'
|
||||
import * as chai from 'chai'
|
||||
import { omit } from 'lodash'
|
||||
import { expect } from 'chai'
|
||||
import { canDoQuickTranscode } from '@server/helpers/ffmpeg'
|
||||
import { generateHighBitrateVideo, generateVideoWithFramerate, getAllFiles } from '@server/tests/shared'
|
||||
import { buildAbsoluteFixturePath, getMaxBitrate, getMinLimitBitrate } from '@shared/core-utils'
|
||||
import { buildAbsoluteFixturePath, getMaxBitrate, getMinLimitBitrate, omit } from '@shared/core-utils'
|
||||
import {
|
||||
buildFileMetadata,
|
||||
getAudioStream,
|
||||
|
@ -26,8 +24,6 @@ import {
|
|||
webtorrentAdd
|
||||
} from '@shared/server-commands'
|
||||
|
||||
const expect = chai.expect
|
||||
|
||||
function updateConfigForTranscoding (server: PeerTubeServer) {
|
||||
return server.config.updateCustomSubConfig({
|
||||
newConfig: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue