MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / require-default.test.ts

File require-default.test.ts

__tests__/require-default.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * `require('./x').default` reads the `default` PROPERTY of the module's
3 * exports, and so does `const { default: X } = require('./x')`. The import
4 * mapping records it as a named import of `default`, which is right for a

Callers

nothing calls this directly

Calls 7

describeFunction · 0.85
outOfFunction · 0.85
intoFunction · 0.70
nodeFunction · 0.70
closeMethod · 0.65
joinMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected