That is needed for some tests, I'm not sure I should remove it.
In detail, if we are in a test that is using that worker, the test will set a callback used instead of the function this.err which will cause the process.exit(1);.
Originally posted by @FerrariAndrea in #8 (comment)
We have to discuss why is still needed for the tests and try to remove it if it makes sense
That is needed for some tests, I'm not sure I should remove it.
In detail, if we are in a test that is using that worker, the test will set a callback used instead of the function this.err which will cause the
process.exit(1);.Originally posted by @FerrariAndrea in #8 (comment)
We have to discuss why is still needed for the tests and try to remove it if it makes sense