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