hunk.code_window:         throw new Error('Expected an error but none happened.');
         }
       })
       // Fix the error!
       .then(() => writeFile('src/funky2.ts', `
         export function funky(value: string): string {
           return value + 'hello';
  
hunk.labels: keep keep add keep keep keep keep
hunk.after_edit:     // Change an UNRELATED file and the error should still happen.
       .then(() => wait(2000))
       .then(() => appendToFile('src/app/app.module.ts', `
         function anything(): number {}
       `))
       // Should trigger a rebuild, this time an error is expected.
       .then(() => waitForAnyProcessOutputToMatch(doneRe, 10000))
       .then(({ stdout }) => {
         if (!/ERROR in .*\/src\/main\.ts \(/.test(stdout)) {
           throw new Error('Expected an error but none happened.');
         }
       })
  
hunk.file_path: tests/e2e/tests/build/rebuild-deps-type-check.ts
hunk.type: add
file: {
    "maxLength": 100,
    "types": [
      "build",
      "ci",
      "docs",
      "feat",
      "fix",
      "perf",
      "refactor",
      "style",
      "test"
    ],
    "scopes": [
      "@angular/cli",
      "@ngtools/json-schema",
      "@ngtools/logger",
      "@ngtools/webpack",
  
      "packaging",
      "changelog"
    ]
  }
  