You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
import { LoggerService } from '../../../../shared/services/logger.service';
|
|
import { SharedModule } from '../../../../shared/shared.module';
|
|
|
|
import { ECLNodeLookupComponent } from './node-lookup.component';
|
|
|
|
describe('ECLNodeLookupComponent', () => {
|
|
let component: ECLNodeLookupComponent;
|
|
let fixture: ComponentFixture<ECLNodeLookupComponent>;
|
|
|
|
beforeEach(waitForAsync(() => {
|
|
TestBed.configureTestingModule({
|
|
declarations: [ECLNodeLookupComponent],
|
|
imports: [
|
|
BrowserAnimationsModule,
|
|
SharedModule
|
|
],
|
|
providers: [LoggerService]
|
|
}).
|
|
compileComponents();
|
|
}));
|
|
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(ECLNodeLookupComponent);
|
|
component = fixture.componentInstance;
|
|
component.lookupResult = { features: { activated: [] } };
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
|
|
afterEach(() => {
|
|
TestBed.resetTestingModule();
|
|
});
|
|
});
|