(tmp_path)
| 31 | |
| 32 | |
| 33 | def test_interface_extends_same_file(tmp_path): |
| 34 | f = _write(tmp_path / "src" / "a.ts", |
| 35 | "export interface Base { x: number; }\n" |
| 36 | "export interface Derived extends Base { y: number; }\n") |
| 37 | result = extract([f], cache_root=tmp_path) |
| 38 | assert _has_inherits(result, "src/a.ts", "Derived", "src/a.ts", "Base") |
| 39 | |
| 40 | |
| 41 | def test_interface_extends_multiple_same_file(tmp_path): |
nothing calls this directly
no test coverage detected