Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tirth8205/code-review-graph
/ _is_test_file
Function
_is_test_file
code_review_graph/parser.py:769–770 ·
view source on GitHub ↗
(path: str)
Source
from the content-addressed store, hash-verified
767
768
769
def
_is_test_file(path: str) -> bool:
770
return
any(p.search(path)
for
p in _TEST_FILE_PATTERNS)
771
772
773
def
_is_test_function(
Callers
11
test_jest_tests_dir_detected_as_test_file
Method · 0.90
_is_test_function
Function · 0.70
parse_bytes
Method · 0.70
_parse_vue
Method · 0.70
_parse_svelte
Method · 0.70
_parse_notebook
Method · 0.70
_parse_notebook_cells
Method · 0.70
_parse_databricks_py_notebook
Method · 0.70
_parse_rescript
Method · 0.70
_parse_sql
Method · 0.70
_extract_calls
Method · 0.70
Calls
1
search
Method · 0.80
Tested by
1
test_jest_tests_dir_detected_as_test_file
Method · 0.72