| 205 | |
| 206 | it('runs in `NgZone`', inject([ApplicationRef], async (ref: ApplicationRef) => { |
| 207 | @Component({ |
| 208 | selector: 'zone-comp', |
| 209 | template: ` <div>{{ name }}</div> `, |
| 210 | }) |
| 211 | class ZoneComp { |
| 212 | readonly inNgZone = NgZone.isInAngularZone(); |
| 213 | } |
| 214 | |
| 215 | createRootEl('zone-comp'); |
| 216 | const comp = ref.bootstrap(ZoneComp); |
nothing calls this directly
no test coverage detected