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

Method count

lib/internal/test_runner/test.js:256–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254 }
255
256 count() {
257 this.actual++;
258 if (this.#planPromise) {
259 this.check();
260 }
261 }
262
263 #shouldWait() {
264 return this.wait !== undefined && this.wait !== false;

Callers 3

assertMethod · 0.45
okMethod · 0.45
testMethod · 0.45

Calls 1

checkMethod · 0.95

Tested by 1

testMethod · 0.36