()
| 720 | const noNgZone = this.inject(ComponentFixtureNoNgZone, false); |
| 721 | const ngZone = noNgZone ? null : this.inject(NgZone, null); |
| 722 | const init = () => { |
| 723 | const ref = this.createComponentRef(type, tagName, renderer, options?.bindings); |
| 724 | const fixture = this.runInInjectionContext(() => new ComponentFixture(ref)); |
| 725 | this._activeFixtures.push(fixture); |
| 726 | return fixture; |
| 727 | }; |
| 728 | |
| 729 | return ngZone ? ngZone.run(init) : init(); |
| 730 | } |
nothing calls this directly
no test coverage detected