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 respects eps filetype", 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 respects pdf filetype", async () => {
|
|||
const mockExecFile: ExecFileFn = (
|
||||
_cmd: string,
|
||||
_args: string[],
|
||||
options: unknown,
|
||||
callback: (err: ExecFileException | null, stdout: string, stderr: string) => void,
|
||||
) => {
|
||||
calls.push(_args);
|
||||
|
|
@ -96,7 +94,6 @@ test("convert respects svgz 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue