(file: string, name: string, kind: string)
| 349 | .prepare("SELECT reference_name AS name, reference_kind AS kind, file_path AS file, name_tail AS tail FROM unresolved_refs WHERE status = 'failed'") |
| 350 | .all() as Array<{ name: string; kind: string; file: string; tail: string }>; |
| 351 | const tailOf = (file: string, name: string, kind: string): string | undefined => |
| 352 | rows.find((r) => r.file === file && r.name === name && r.kind === kind)?.tail; |
| 353 | |
| 354 | // A module named relative to the importing file's package, or absolutely. |
| 355 | expect(tailOf('app/main.py', 'UserModel', 'imports')).toBe('module:models'); |
no outgoing calls
no test coverage detected