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

Function test_namespace_is_node

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

Source from the content-addressed store, hash-verified

26
27
28def test_namespace_is_node(tmp_path):
29 f = _write(tmp_path / "src" / "n.ts",
30 "export namespace Geometry { export const PI = 3.14; }\n")
31 r = extract([f], cache_root=tmp_path)
32 assert _has_node(r, "src/n.ts", "Geometry")
33
34
35def test_module_keyword_is_node(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