I noticed while attempting to recreate a failing test case related to yargs #497 that I could not get citgm to fail (as expected) on a test outputting a large chunk of text to the terminal:
info: module name: | yargs
info: version: | 4.7.0
info: done | The smoke test has passed.
After digging further, I realized that it is related to spawn() being run with the default pipe behavior. If I switch to stdio: "inherit", tests start failing:

Unfortunately, using inherit results in very noisy output.
I'm not sure what the best fix is here, but I think we'd be smart to eliminate the discrepancy between a user interacting with the terminal, and citgm consuming a spawned terminal output.
I noticed while attempting to recreate a failing test case related to yargs #497 that I could not get citgm to fail (as expected) on a test outputting a large chunk of text to the terminal:
After digging further, I realized that it is related to
spawn()being run with the defaultpipebehavior. If I switch tostdio: "inherit", tests start failing:Unfortunately, using
inheritresults in very noisy output.I'm not sure what the best fix is here, but I think we'd be smart to eliminate the discrepancy between a user interacting with the terminal, and
citgmconsuming a spawned terminal output.