test: change order of parameters in ExecFileFn type
This commit is contained in:
parent
eac22d53d3
commit
af68498494
24 changed files with 36 additions and 68 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue