[#zimic] Added a call to process.exit(0) after an interceptor server is stopped in ephemeral mode. This is to make sure that the process does not hangs, even though the server has been stopped. It is not clear to me how hanging happens, but it rarely does in the tests of zimic-test-client.
Documentation
[#zimic] Included process.exit(0) to the documentation about interceptor server programmatic usage.
[#zimic] Fixed a code snippet still using runCommand, which is no longer available in >=v0.8.
Fixes
process.exit(0)
after an interceptor server is stopped in ephemeral mode. This is to make sure that the process does not hangs, even though the server has been stopped. It is not clear to me how hanging happens, but it rarely does in the tests ofzimic-test-client
.Documentation
process.exit(0)
to the documentation about interceptor server programmatic usage.runCommand
, which is no longer available in >=v0.8.