Nate Fischer 39ebb71846 test: add coverage for exit function
This adds test coverage for the shell.exit() function. This also
refactors how we mock stdout/stderr and adds support for mocking
process.exit() (which was needed for this change).

While I was writing these tests, I realized there was an edge case I
missed in PR #1122. This change fixes that edge case.

Issue #1013
2023-11-11 18:27:54 -08:00
..
2019-06-20 23:34:41 -07:00
2022-01-26 22:41:40 -08:00
2023-11-11 18:27:54 -08:00
2016-12-20 11:27:02 -08:00
2023-11-11 18:27:54 -08:00
2023-11-11 18:27:54 -08:00
2022-01-15 13:39:41 -08:00
2022-01-15 13:19:47 -08:00
2023-11-11 18:27:54 -08:00
2023-11-11 18:27:54 -08:00
2018-06-27 00:02:32 -07:00