MCPcopy
hub / github.com/codeceptjs/CodeceptJS / onProcessEnd

Function onProcessEnd

lib/command/run-multiple.js:168–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 const onProcessEnd = errorCode => {
169 if (errorCode !== 0) {
170 process.exitCode = errorCode
171 }
172 subprocessCount += 1
173 if (subprocessCount === totalSubprocessCount) {
174 processesDone()
175 }
176 return errorCode
177 }
178
179 // Return function of fork for later execution
180 return () =>

Callers 1

executeRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected