29 lines
1004 B
TypeScript
29 lines
1004 B
TypeScript
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
|
import { MatSortModule } from '@angular/material/sort';
|
|
import { MatTableModule } from '@angular/material/table';
|
|
|
|
import { DeviceListComponent } from './device-list.component';
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
import { ChangeDetectorRef } from '@angular/core';
|
|
|
|
describe('DeviceListComponent', () => {
|
|
let component: DeviceListComponent;
|
|
let fixture: ComponentFixture<DeviceListComponent>;
|
|
|
|
beforeEach(async(() => {
|
|
TestBed.configureTestingModule({
|
|
declarations: [DeviceListComponent],
|
|
imports: [HttpClientModule],
|
|
providers: [DeviceListComponent, ChangeDetectorRef]
|
|
}).compileComponents();
|
|
|
|
component = TestBed.inject(DeviceListComponent);
|
|
}));
|
|
|
|
it('should compile', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|