| 281 | |
| 282 | expect(() => { |
| 283 | @Component({ |
| 284 | selector: 'test-cmp', |
| 285 | template: '', |
| 286 | // The double array here is necessary to escape the compile-time error, via Provider's |
| 287 | // `any[]` option. |
| 288 | providers: [[importProvidersFrom(Module)]], |
| 289 | standalone: false, |
| 290 | changeDetection: ChangeDetectionStrategy.Eager, |
| 291 | }) |
| 292 | class Cmp {} |
| 293 | |
| 294 | TestBed.createComponent(Cmp); |
| 295 | }).toThrowError(/NG0207/); |
nothing calls this directly
no test coverage detected