test: add parameter options to usage of type ExecFileFn
This commit is contained in:
parent
c0f0dc5192
commit
08a833f1cf
22 changed files with 71 additions and 41 deletions
|
|
@ -37,6 +37,7 @@ 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);
|
||||
|
|
@ -63,6 +64,7 @@ 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