Fix to Fix error in previous fix, and adapt tests plus prettier
This commit is contained in:
parent
e6f8bea804
commit
f21801d4df
1 changed files with 9 additions and 1 deletions
|
|
@ -77,7 +77,15 @@ test("uses only outFilter when input has no filter (e.g., pdf -> txt)", async ()
|
||||||
|
|
||||||
const { args } = requireDefined(calls[0], "Expected at least one execFile call");
|
const { args } = requireDefined(calls[0], "Expected at least one execFile call");
|
||||||
|
|
||||||
expect(args).toEqual(["--headless", "--infilter=writer_pdf_import","--convert-to", "txt:Text", "--outdir", "out", "in.pdf"]);
|
expect(args).toEqual([
|
||||||
|
"--headless",
|
||||||
|
"--infilter=writer_pdf_import",
|
||||||
|
"--convert-to",
|
||||||
|
"txt:Text",
|
||||||
|
"--outdir",
|
||||||
|
"out",
|
||||||
|
"in.pdf",
|
||||||
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("uses only infilter when convertTo has no out filter (e.g., docx -> pdf)", async () => {
|
test("uses only infilter when convertTo has no out filter (e.g., docx -> pdf)", async () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue