Summary Table
Categories |
Total Count |
PII |
0 |
URL |
0 |
DNS |
0 |
EKL |
0 |
IP |
0 |
PORT |
0 |
VsID |
0 |
CF |
0 |
AI |
0 |
VPD |
0 |
PL |
0 |
Other |
0 |
File Content
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { LabsComponent } from './labs.component';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { reducers } from '../../reducers';
import { StoreModule, Store } from '@ngrx/store';
import { Observation, QueryParams } from '../../models/patientModels';
import { NO_ERRORS_SCHEMA } from '@angular/core';
describe('LabsComponent', () => {
let component: LabsComponent;
let fixture: ComponentFixture<LabsComponent>;
const labData = {
data: [],
err: ''
};
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ LabsComponent ],
schemas: [ NO_ERRORS_SCHEMA ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(LabsComponent);
component = fixture.componentInstance;
component.labs = labData;
component.queryParams = {};
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});