to prevent output cropping when jasmine is called from another process.
Cropping happens in some environments more often than others (might depend on shell).
Mostly happens when there is plenty of (error) output in buffer so it's not all flushed before process exit and is lost.
to prevent output cropping when jasmine is called from another process. Cropping happens in some environments more often than others (might depend on shell). Mostly happens when there is plenty of (error) output in buffer so it's not all flushed before process exit and is lost.
Same problem was in
jasmine-node
: https://github.com/mhevery/jasmine-node/pull/420Fix in that and in this PR is based on similar issue in mocha: https://github.com/mochajs/mocha/issues/333