import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { AddRoleComponent } from './add-role.component'; describe('AddRoleComponent', () => { let component: AddRoleComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [AddRoleComponent] }).compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(AddRoleComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });