/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
-import 'mocha'
-import * as chai from 'chai'
+import { expect } from 'chai'
import { buildAbsoluteFixturePath } from '@shared/core-utils'
import { CLICommand } from '@shared/server-commands'
import { VideoResolution } from '../../../shared/models/videos'
-const expect = chai.expect
-
describe('Test print transcode jobs', function () {
it('Should print the correct command for each resolution', async function () {
expect(command).to.includes('-r 25')
expect(command).to.includes('-level:v 3.1')
expect(command).to.includes('-g:v 50')
- expect(command).to.includes(`-maxrate `)
- expect(command).to.includes(`-bufsize `)
+ expect(command).to.includes(`-maxrate:v `)
+ expect(command).to.includes(`-bufsize:v `)
}
})
})