| 435 | |
| 436 | it('should reject the bootstrapApplication promise if an imported module throws', (done) => { |
| 437 | @NgModule() |
| 438 | class ErrorModule { |
| 439 | constructor() { |
| 440 | throw new Error('This error should be in the promise rejection'); |
| 441 | } |
| 442 | } |
| 443 | |
| 444 | bootstrapApplication(SimpleComp, { |
| 445 | providers: [importProvidersFrom(ErrorModule)], |
nothing calls this directly
no test coverage detected
searching dependent graphs…