(component: Type<T>, providers: Provider[] = [])
| 24 | describe('MatAutocomplete Zone.js integration', () => { |
| 25 | // Creates a test component fixture. |
| 26 | function createComponent<T>(component: Type<T>, providers: Provider[] = []) { |
| 27 | TestBed.configureTestingModule({ |
| 28 | providers: [ |
| 29 | provideZoneChangeDetection(), |
| 30 | ...providers, |
| 31 | {provide: MATERIAL_ANIMATIONS, useValue: {animationsDisabled: true}}, |
| 32 | ], |
| 33 | }); |
| 34 | |
| 35 | return TestBed.createComponent<T>(component); |
| 36 | } |
| 37 | |
| 38 | describe('panel toggling', () => { |
| 39 | let fixture: ComponentFixture<SimpleAutocomplete>; |
no outgoing calls
no test coverage detected