MCPcopy Index your code
hub / github.com/nodejs/node / basic-test-runner.js

File basic-test-runner.js

benchmark/fixtures/basic-test-runner.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const { test } = require('node:test');
2
3test('should pass', () => {});
4test('should fail', () => { throw new Error('fail'); });

Callers

nothing calls this directly

Calls 4

requireFunction · 0.50
testFunction · 0.50
setImmediateFunction · 0.50
testMethod · 0.45

Tested by

no test coverage detected