test: change order of parameters in ExecFileFn type

This commit is contained in:
Jörg Krzeslak 2025-07-24 19:33:55 +02:00
parent eac22d53d3
commit af68498494
24 changed files with 36 additions and 68 deletions

View file

@ -42,7 +42,6 @@ test("convert uses action pdfload with filetype being pdf", async () => {
const mockExecFile: ExecFileFn = (
_cmd: string,
_args: string[],
options: unknown,
callback: (err: ExecFileException | null, stdout: string, stderr: string) => void,
) => {
calls.push(_args);
@ -69,7 +68,6 @@ test("convert uses action copy with filetype being anything but pdf", async () =
const mockExecFile: ExecFileFn = (
_cmd: string,
_args: string[],
options: unknown,
callback: (err: ExecFileException | null, stdout: string, stderr: string) => void,
) => {
calls.push(_args);