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

Function test

lib/internal/test_runner/harness.js:401–408  ·  view source on GitHub ↗
(name, options, fn)

Source from the content-addressed store, hash-verified

399 }
400
401 const test = (name, options, fn) => {
402 const overrides = {
403 __proto__: null,
404 loc: getCallerLocation(),
405 };
406
407 return run(name, options, fn, overrides);
408 };
409 ArrayPrototypeForEach(['expectFailure', 'skip', 'todo', 'only'], (keyword) => {
410 test[keyword] = (name, options, fn) => {
411 const overrides = {

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…