[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-10-26 21:07:36 +00:00
committed by GitHub
parent d2980a511e
commit eb22dc291a
+7 -4
View File
@@ -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";