test: add unit test for inkscape.ts

This commit is contained in:
Jörg Krzeslak 2025-07-24 13:53:41 +02:00
parent f1730ede97
commit 7524f304fe
4 changed files with 24 additions and 4 deletions

View file

@ -447,7 +447,7 @@ export function convert(
convertTo: string,
targetPath: string,
options?: unknown,
execFile: ExecFileFn = execFileOriginal,
execFile: ExecFileFn = execFileOriginal, // to make it mockable
): Promise<string> {
let outputArgs: string[] = [];
let inputArgs: string[] = [];