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 { QueryBuilderComponent } from '../query-builder/query-builder.component';
import { ProgressNotesComponent } from './progress-notes.component';
import { NgbDatepickerModule, NgbCollapseModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
import { GridComponent } from '../grid/grid.component';
import { FormsModule } from '@angular/forms';
import { reducers } from '../../reducers';
import { StoreModule } from '@ngrx/store';

describe('ProgressNotesComponent', () => {
let component: ProgressNotesComponent;
let fixture: ComponentFixture<ProgressNotesComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ProgressNotesComponent, QueryBuilderComponent, GridComponent ],
imports: [NgbDatepickerModule.forRoot(), NgbCollapseModule.forRoot(),
NgbTooltipModule.forRoot(), FormsModule, StoreModule.forRoot(reducers) ],
schemas: []
})
.compileComponents();
}));

beforeEach(() => {
fixture = TestBed.createComponent(ProgressNotesComponent);
component = fixture.componentInstance;
component.progressNotes = {data: [], err: ''};
component.queryParams = {};
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});