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