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