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 respects ico conversion target type", async () => {
const mockExecFile: ExecFileFn = (
_cmd: string,
_args: string[],
options: unknown,
callback: (err: ExecFileException | null, stdout: string, stderr: string) => void,
) => {
calls.push(_args);
@ -78,7 +77,6 @@ test("convert respects ico conversion target type with svg as input filetype", a
const mockExecFile: ExecFileFn = (
_cmd: string,
_args: string[],
options: unknown,
callback: (err: ExecFileException | null, stdout: string, stderr: string) => void,
) => {
calls.push(_args);
@ -116,7 +114,6 @@ test("convert respects ico conversion target type with emf as input filetype", a
const mockExecFile: ExecFileFn = (
_cmd: string,
_args: string[],
options: unknown,
callback: (err: ExecFileException | null, stdout: string, stderr: string) => void,
) => {
calls.push(_args);
@ -158,7 +155,6 @@ test("convert respects emf as input filetype", async () => {
const mockExecFile: ExecFileFn = (
_cmd: string,
_args: string[],
options: unknown,
callback: (err: ExecFileException | null, stdout: string, stderr: string) => void,
) => {
calls.push(_args);