mirror of
https://github.com/C4illin/ConvertX.git
synced 2026-10-27 23:30:55 +01:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -126,11 +126,14 @@ test.each(["png", "jpg", "jpeg", "webp"])(
|
||||
},
|
||||
);
|
||||
|
||||
test.each(["png", "jpg", "jpeg", "webp"])("drops audio streams when extracting cover art from audio to %s", async (ext) => {
|
||||
await convert("in.mp3", "mp3", ext, `out.${ext}`, undefined, mockExecFile);
|
||||
test.each(["png", "jpg", "jpeg", "webp"])(
|
||||
"drops audio streams when extracting cover art from audio to %s",
|
||||
async (ext) => {
|
||||
await convert("in.mp3", "mp3", ext, `out.${ext}`, undefined, mockExecFile);
|
||||
|
||||
expect(calls[0]).toEqual(["-i", "in.mp3", "-an", `out.${ext}`]);
|
||||
});
|
||||
expect(calls[0]).toEqual(["-i", "in.mp3", "-an", `out.${ext}`]);
|
||||
},
|
||||
);
|
||||
|
||||
test("places the cover art args after FFMPEG_OUTPUT_ARGS", async () => {
|
||||
process.env.FFMPEG_OUTPUT_ARGS = "-b:a 192k";
|
||||
|
||||
Reference in New Issue
Block a user