(component: Type<T>)
| 9 | |
| 10 | describe('MatDatepickerActions', () => { |
| 11 | function createComponent<T>(component: Type<T>): ComponentFixture<T> { |
| 12 | TestBed.configureTestingModule({ |
| 13 | providers: [ |
| 14 | {provide: MATERIAL_ANIMATIONS, useValue: {animationsDisabled: true}}, |
| 15 | provideNativeDateAdapter(), |
| 16 | ], |
| 17 | }); |
| 18 | |
| 19 | return TestBed.createComponent(component); |
| 20 | } |
| 21 | |
| 22 | it('should render the actions inside calendar panel in popup mode', () => { |
| 23 | const fixture = createComponent(DatepickerWithActions); |
no test coverage detected
searching dependent graphs…