mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 21:27:40 +00:00
feat(transcode): set loglevel to warning for all ffmpeg commands
This commit is contained in:
@@ -379,7 +379,11 @@ describe('Transcode Activities', () => {
|
||||
// Mock child_process.execFile to simulate ffmpeg succeeding
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
;(child_process.execFile as any).mockImplementation(
|
||||
(file: string, args: string[], cb: any) => {
|
||||
(
|
||||
file: string,
|
||||
args: string[],
|
||||
cb: (err: Error | null, result: { stdout: string; stderr: string }) => void,
|
||||
) => {
|
||||
cb(null, { stdout: '', stderr: '' })
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user