MCPcopy Create free account
hub / github.com/backnotprop/plannotator / isTestFile

Function isTestFile

packages/shared/code-nav.ts:155–157  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

153}
154
155function isTestFile(filePath: string): boolean {
156 return /(?:test|spec|__tests__|_test\.|\.test\.|\.spec\.)/i.test(filePath);
157}
158
159// ---------------------------------------------------------------------------
160// rg argument construction

Callers 2

scoreFunction · 0.85
resolveCodeNavFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected