UNPKG

angular-t9n

Version:

A translation tool for Angular i18n

35 lines (29 loc) 1.02 kB
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MatPaginatorModule } from '@angular/material/paginator'; import { MatSortModule } from '@angular/material/sort'; import { MatTableModule } from '@angular/material/table'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; import { OrphansComponent } from './orphans.component'; describe('OrphansComponent', () => { let component: OrphansComponent; let fixture: ComponentFixture<OrphansComponent>; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ NoopAnimationsModule, MatPaginatorModule, MatSortModule, MatTableModule, OrphansComponent, ], }).compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(OrphansComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should compile', () => { expect(component).toBeTruthy(); }); });