(tmp_path)
| 33 | |
| 34 | |
| 35 | def 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 | |
| 42 | def test_nested_namespace_name(tmp_path): |