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
|
|
@ -3,6 +3,7 @@ import { convert } from "../../src/converters/libheif.ts";
|
|||
import {
|
||||
runConvertFailTest,
|
||||
runConvertLogsStderror,
|
||||
runConvertLogsStderrorAndStdout,
|
||||
runConvertSuccessTest,
|
||||
} from "./helpers/converters.ts";
|
||||
|
||||
|
|
@ -17,3 +18,7 @@ test("convert rejects when execFile fails", async () => {
|
|||
test("convert logs stderr when present", async () => {
|
||||
await runConvertLogsStderror(convert);
|
||||
});
|
||||
|
||||
test("convert logs both stderr and stdout when present", async () => {
|
||||
await runConvertLogsStderrorAndStdout(convert);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue