blob: ea0912b2ba63b82cf4033c81821875467d7e87ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { MatPaginatorModule, MatSortModule, MatTableModule } from '@angular/material';
import { DataChartComponent } from './data-chart.component';
describe('DataChartComponent', () => {
let component: DataChartComponent;
let fixture: ComponentFixture<DataChartComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ DataChartComponent ],
imports: [
NoopAnimationsModule,
MatPaginatorModule,
MatSortModule,
MatTableModule,
]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(DataChartComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should compile', () => {
expect(component).toBeTruthy();
});
});
|