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:

committed by
Miško Hevery

parent
b8a3736275
commit
499d05ddee
@ -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(
|
||||
|
Reference in New Issue
Block a user