import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing'; import { SimpleSideMenu } from './simple.side.menu.component'; describe('SimpleSideMenu', () => { let component: SimpleSideMenu; let fixture: ComponentFixture; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [SimpleSideMenu], }).compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(SimpleSideMenu); component = fixture.componentInstance; component.data = [ { id: 'a008bef6-7ec0-fc14-9bcb-9d85cfb12b18', name: 'userAdministration', selected: true, value: 'User Administration', }, { id: '9e468a63-45c1-2e91-1113-ad3f3d7afd29', name: 'assignRoutes', selected: false, value: 'Assign Routes' }, ]; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });