MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isTestCode

Function isTestCode

src/resolution/ambient-modules.ts:708–708  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

706
707/** A path that is not the program's own: a test, a fixture, an example (see search/query-utils). */
708const isTestCode = (file: string): boolean => isTestFile(file);
709
710const dirOf = (file: string): string => file.slice(0, Math.max(0, file.lastIndexOf('/')));
711

Callers 3

scannedFunction · 0.70
declaringFileAnswersFunction · 0.70
declarationsForFunction · 0.70

Calls 1

isTestFileFunction · 0.90

Tested by

no test coverage detected