(file: string, source: string)
| 73 | it('preserves nested scopes and import aliases through re-exports and symbol changes', async () => { |
| 74 | root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-exact-binding-')); |
| 75 | const write = (file: string, source: string) => fs.writeFileSync(path.join(root!, file), source); |
| 76 | write('definition.ts', 'export function original() { return 1; }'); |
| 77 | write('barrel.ts', "export { original as exposed } from './definition';"); |
| 78 | write('caller.ts', "import { exposed as alias } from './barrel';\nexport function caller() { return alias(); }"); |
no test coverage detected