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

Method ok

lib/internal/test_runner/test.js:348–353  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

346 // This is a hack. It allows the innerOk function to collect the
347 // stacktrace from the correct starting point.
348 function ok(...args) {
349 if (plan !== null) {
350 plan.count();
351 }
352 innerOk(ok, ...args);
353 }
354
355 assert.ok = ok;
356 }

Callers 1

reportMethod · 0.45

Calls 2

innerOkFunction · 0.85
countMethod · 0.45

Tested by

no test coverage detected