MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / import-emitted-specifier.test.ts

File import-emitted-specifier.test.ts

__tests__/import-emitted-specifier.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * TypeScript's node16/nodenext/bundler resolution writes the EMITTED extension
3 * in a relative specifier (`./util.js` for `util.ts`). The import resolver must
4 * map that back to the source file that is actually in the repo; otherwise the

Callers

nothing calls this directly

Calls 10

resolveImportPathFunction · 0.90
describeFunction · 0.85
contextWithFilesFunction · 0.85
resolveReferencesMethod · 0.80
mapMethod · 0.80
getNodesByKindMethod · 0.65
joinMethod · 0.45
destroyMethod · 0.45
initMethod · 0.45
getOutgoingEdgesMethod · 0.45

Tested by

no test coverage detected