(extra: string)
| 151 | it('leaves a member alone that names an import under another name, on an edit that keeps it', async () => { |
| 152 | const reopened = vi.spyOn(QueryBuilder.prototype, 'replaceResolutionEdgesWithUnresolvedRefs'); |
| 153 | const api = (extra: string): string => |
| 154 | `import { getUser as fetchUser } from './users';\nexport const api = { fetchUser };\n${extra}`; |
| 155 | const { root, graph, full } = await syncEdit( |
| 156 | { |
| 157 | 'src/users.ts': 'export function getUser() { return 1; }\n', |
no outgoing calls
no test coverage detected