6d6e9431dbdff629d3276b453cbd491961f2a9a5
[portal/sdk.git] /
1
2 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3 import { NoopAnimationsModule } from '@angular/platform-browser/animations';
4 import { MatPaginatorModule } from '@angular/material/paginator';
5 import { MatSortModule } from '@angular/material/sort';
6 import { MatTableModule } from '@angular/material/table';
7 import { ColumnListComponent } from './column-list.component';
8 import { FormsModule } from '@angular/forms';
9 import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
10 import { HttpClientTestingModule } from '@angular/common/http/testing';
11
12 describe('ColumnListComponent', () => {
13   let component: ColumnListComponent;
14   let fixture: ComponentFixture<ColumnListComponent>;
15
16   beforeEach(async(() => {
17     TestBed.configureTestingModule({
18       declarations: [ ColumnListComponent ],
19       imports: [
20         NoopAnimationsModule,
21         MatPaginatorModule,
22         MatSortModule,
23         MatTableModule,
24         FormsModule,
25         HttpClientTestingModule
26       ],
27       schemas: [CUSTOM_ELEMENTS_SCHEMA]
28     }).compileComponents();
29   }));
30
31   beforeEach(() => {
32     fixture = TestBed.createComponent(ColumnListComponent);
33     component = fixture.componentInstance;
34     fixture.detectChanges();
35   });
36
37   it('should compile', () => {
38     expect(component).toBeTruthy();
39   });
40
41 });