()
| 562 | }); |
| 563 | |
| 564 | function createComponent(): ComponentFixture<CalendarWithMinMax> { |
| 565 | const fixture = TestBed.createComponent(CalendarWithMinMax); |
| 566 | |
| 567 | let calendarDebugElement = fixture.debugElement.query(By.directive(MatCalendar))!; |
| 568 | calendarElement = calendarDebugElement.nativeElement; |
| 569 | calendarInstance = calendarDebugElement.componentInstance; |
| 570 | testComponent = fixture.componentInstance; |
| 571 | |
| 572 | return fixture; |
| 573 | } |
| 574 | }); |
| 575 | |
| 576 | describe('calendar with date filter', () => { |