test: add test if stderror and stdout get logged if both are present
This commit is contained in:
parent
08a833f1cf
commit
4b42a5fbda
13 changed files with 91 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import { convert } from "../../src/converters/vips.ts";
|
|||
import {
|
||||
runConvertFailTest,
|
||||
runConvertLogsStderror,
|
||||
runConvertLogsStderrorAndStdout,
|
||||
runConvertSuccessTest,
|
||||
} from "./helpers/converters.ts";
|
||||
|
||||
|
|
@ -26,6 +27,10 @@ test("convert logs stderr when present", async () => {
|
|||
await runConvertLogsStderror(convert);
|
||||
});
|
||||
|
||||
test("convert logs both stderr and stdout when present", async () => {
|
||||
await runConvertLogsStderrorAndStdout(convert);
|
||||
});
|
||||
|
||||
test("convert uses action pdfload with filetype being pdf", async () => {
|
||||
const originalConsoleLog = console.log;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue