(tmp_path)
| 26 | |
| 27 | |
| 28 | def 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 | |
| 35 | def test_module_keyword_is_node(tmp_path): |