hunk.code_window: export default function() {
     const modulePath = join('src', 'app', 'app.module.ts');
     return ng('generate', 'directive', 'test-directive', '--export')
       .then(() => expectFileToMatch(modulePath, /exports: \[\n(\s*)  TestDirectiveDirective\n\1\]/))
       // Try to run the unit tests.
       .then(() => ng('test', '--watch=false'));
   }
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:     .then(() => expectFileToMatch(modulePath, /exports: \[\r?\n(\s*)  TestDirectiveDirective\r?\n\1\]/))
  
hunk.file_path: tests/legacy-cli/e2e/tests/generate/directive/directive-module-export.ts
hunk.type: replace
file: import { executeTest } from './ivy-localize-dl-xliff2';
  import { setupI18nConfig } from './legacy';
  
  export default async function() {
    // Setup i18n tests and config.
    await setupI18nConfig(true, 'xlf');
  
    // Execute the tests
    await executeTest();
  }
  