Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1
const
{ test } = require(
'node:test'
);
2
3
test(
'should pass'
, () => {});
4
test(
'should fail'
, () => { throw
new
Error(
'fail'
); });
Callers
nothing calls this directly
Calls
4
require
Function · 0.50
test
Function · 0.50
setImmediate
Function · 0.50
test
Method · 0.45
Tested by
no test coverage detected