MCPcopy Index your code
hub / github.com/nodejs/node / _read

Method _read

lib/internal/test_runner/tests_stream.js:26–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 }
25
26 _read() {
27 this.#canPush = true;
28
29 while (this.#buffer.length > 0) {
30 const obj = ArrayPrototypeShift(this.#buffer);
31
32 if (!this.#tryPush(obj)) {
33 return;
34 }
35 }
36 }
37
38 fail(nesting, loc, testNumber, name, details, directive, testId, parentId, tags) {
39 this[kEmitMessage]('test:fail', {

Callers

nothing calls this directly

Calls 1

#tryPushMethod · 0.95

Tested by

no test coverage detected