MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / test_module_keyword_is_node

Function test_module_keyword_is_node

tests/test_ts_namespace.py:35–39  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

33
34
35def test_module_keyword_is_node(tmp_path):
36 f = _write(tmp_path / "src" / "m.ts",
37 "module Legacy { export class Thing {} }\n")
38 r = extract([f], cache_root=tmp_path)
39 assert _has_node(r, "src/m.ts", "Legacy")
40
41
42def test_nested_namespace_name(tmp_path):

Callers

nothing calls this directly

Calls 3

extractFunction · 0.90
_writeFunction · 0.70
_has_nodeFunction · 0.70

Tested by

no test coverage detected