(type: Type<T>, providers: Provider[] = [])
| 16 | |
| 17 | describe('MatPaginator', () => { |
| 18 | function createComponent<T>(type: Type<T>, providers: Provider[] = []): ComponentFixture<T> { |
| 19 | TestBed.configureTestingModule({ |
| 20 | providers: [MatPaginatorIntl, ...providers], |
| 21 | }); |
| 22 | |
| 23 | const fixture = TestBed.createComponent(type); |
| 24 | fixture.detectChanges(); |
| 25 | return fixture; |
| 26 | } |
| 27 | |
| 28 | describe('with the default internationalization provider', () => { |
| 29 | describe('showing the right range text', () => { |