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 { InstitutionalDetailComponent } from './institutional-detail.component';
describe('InstitutionalDetailComponent', () => {
let component: InstitutionalDetailComponent;
beforeEach(() => {
component = new InstitutionalDetailComponent();
});
it('should be created', () => {
expect(component).toBeTruthy(); // Expects component to be created
});
it('test ngOnInit method', () => {
expect(component.data).toEqual(undefined);
expect(component.collapseState).toEqual(true);
expect(component.idNumber).toEqual(undefined);
component.ngOnInit();
expect(component.collapseState).toEqual(true);
expect(component.data).toEqual(undefined);
expect(component.idNumber).toEqual(undefined);
});
});