test: add test if stderror and stdout get logged if both are present

This commit is contained in:
Jörg Krzeslak 2025-07-24 18:47:20 +02:00
parent 08a833f1cf
commit 4b42a5fbda
13 changed files with 91 additions and 0 deletions

View file

@ -3,6 +3,7 @@ import { convert } from "../../src/converters/assimp.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);
});