refactor(compiler): remove option useDebug (#18778)

BREAKING CHANGE: the option `useDebug` for the compiler has been removed as it had no effect and was deprecated since v4.

PR Close #18778
This commit is contained in:
Olivier Combe
2017-08-18 15:31:32 +02:00
committed by Miško Hevery
parent b8a3736275
commit 499d05ddee
5 changed files with 1 additions and 11 deletions

View File

@ -330,8 +330,7 @@ export class TestBed implements Injector {
const compilerFactory: TestingCompilerFactory =
this.platform.injector.get(TestingCompilerFactory);
this._compiler =
compilerFactory.createTestingCompiler(this._compilerOptions.concat([{useDebug: true}]));
this._compiler = compilerFactory.createTestingCompiler(this._compilerOptions);
this._compiler.loadAotSummaries(this._aotSummaries);
this._moduleOverrides.forEach((entry) => this._compiler.overrideModule(entry[0], entry[1]));
this._componentOverrides.forEach(