angular-t9n
Version:
A translation tool for Angular i18n
35 lines (29 loc) • 1.03 kB
text/typescript
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 { TranslateComponent } from './translate.component';
describe('TranslateComponent', () => {
let component: TranslateComponent;
let fixture: ComponentFixture<TranslateComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
NoopAnimationsModule,
MatPaginatorModule,
MatSortModule,
MatTableModule,
TranslateComponent,
],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(TranslateComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should compile', () => {
expect(component).toBeTruthy();
});
});