MCPcopy
hub / github.com/jestjs/jest / workerReplyEnd

Function workerReplyEnd

packages/jest-worker/src/__tests__/Farm.test.ts:34–36  ·  view source on GitHub ↗
(i: number, error: Error | null, result?: unknown)

Source from the content-addressed store, hash-verified

32}
33
34function workerReplyEnd(i: number, error: Error | null, result?: unknown) {
35 mockWorkerCalls[i].onEnd(error, result);
36}
37
38function workerReply(i: number, error: Error | null = null, result?: unknown) {
39 workerReplyStart(i);

Callers 2

workerReplyFunction · 0.85
Farm.test.tsFile · 0.85

Calls 1

onEndMethod · 0.80

Tested by

no test coverage detected