MCPcopy
hub / github.com/Doorman11991/smallcode / _isTestFile

Function _isTestFile

src/session/tdd_state.js:564–568  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

562];
563
564function _isTestFile(filePath) {
565 if (!filePath) return false;
566 const normalized = filePath.replace(/\\/g, '/');
567 return TEST_FILE_PATTERNS.some(re => re.test(normalized));
568}
569
570// ─── Singleton ────────────────────────────────────────────────────────────────
571

Callers 5

tdd_state.test.jsFile · 0.85
simulatePostWriteFunction · 0.85
checkToolCallMethod · 0.85
_tddPostWriteMethod · 0.85
_tddPostWriteFunction · 0.85

Calls

no outgoing calls

Tested by 1

simulatePostWriteFunction · 0.68