MCPcopy Index your code
hub / github.com/nodejs/node / #drainReportBuffer

Method #drainReportBuffer

lib/internal/test_runner/runner.js:335–340  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

333 }
334 }
335 #drainReportBuffer() {
336 if (this.#reportBuffer.length > 0) {
337 ArrayPrototypeForEach(this.#reportBuffer, (ast) => this.#handleReportItem(ast));
338 this.#reportBuffer = [];
339 }
340 }
341 addToReport(item) {
342 if (kExecutionOrderedEvents.has(item.type)) {
343 this.#handleReportItem(item);

Callers 2

addToReportMethod · 0.95
drainMethod · 0.95

Calls 1

#handleReportItemMethod · 0.95

Tested by

no test coverage detected