MCPcopy Index your code
hub / github.com/nodejs/node / test-require-empty-main.js

File test-require-empty-main.js

test/parallel/test-require-empty-main.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'use strict';
2require('../common');
3
4// A package.json with an empty "main" property should use index.js if present.

Callers

nothing calls this directly

Calls 5

testFunction · 0.70
requireFunction · 0.50
setImmediateFunction · 0.50
pathMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected