test: add parameter options to usage of type ExecFileFn

This commit is contained in:
Jörg Krzeslak 2025-07-24 18:38:21 +02:00
parent c0f0dc5192
commit 08a833f1cf
22 changed files with 71 additions and 41 deletions

View file

@ -37,6 +37,7 @@ test("convert uses djxl with input filetype being jxl", async () => {
const mockExecFile: ExecFileFn = (
_cmd: string,
_args: string[],
options: unknown,
callback: (err: ExecFileException | null, stdout: string, stderr: string) => void,
) => {
command = _cmd;
@ -63,6 +64,7 @@ test("convert uses cjxl with output filetype being jxl", async () => {
const mockExecFile: ExecFileFn = (
_cmd: string,
_args: string[],
options: unknown,
callback: (err: ExecFileException | null, stdout: string, stderr: string) => void,
) => {
command = _cmd;