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

Function end

e2e/runJest.ts:242–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240
241 const continuousRun = {
242 async end() {
243 jestPromise.kill();
244
245 const result = await jestPromise;
246
247 // Not sure why we have to assign here... The ones on `result` are empty strings
248 result.stdout = stdout;
249 result.stderr = stderr;
250
251 return normalizeStdoutAndStderrOnResult(result, options);
252 },
253
254 getCurrentOutput(): StdErrAndOutString {
255 return {stderr, stdout};

Callers 2

testIn2WorkersFunction · 0.50

Calls 1

Tested by 1

testIn2WorkersFunction · 0.40