We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78af379 commit b259724Copy full SHA for b259724
1 file changed
packages/jest-worker/src/workers/ChildProcessWorker.ts
@@ -205,6 +205,7 @@ export default class ChildProcessWorker implements WorkerInterface {
205
private _onExit(exitCode: number) {
206
if (
207
exitCode !== 0 &&
208
+ exitCode !== null &&
209
exitCode !== SIGTERM_EXIT_CODE &&
210
exitCode !== SIGKILL_EXIT_CODE
211
) {
@@ -236,7 +237,7 @@ export default class ChildProcessWorker implements WorkerInterface {
236
237
238
this._request = request;
239
this._retries = 0;
- this._child.send(request);
240
+ this._child.send(request, () => {});
241
}
242
243
waitForExit(): Promise<void> {
0 commit comments