Skip to content

Commit a7c8f59

Browse files
committed
fix: #571 test coverage
1 parent 8679b01 commit a7c8f59

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/app/modules/reports/pages/reports.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('ReportsComponent', () => {
2323
expect(component).toBeTruthy();
2424
});
2525

26-
it('should have form and datatable components', async(() => {
26+
it('should have form and datatable components', waitForAsync(() => {
2727
fixture.detectChanges();
2828

2929
const compile = fixture.debugElement.nativeElement;

src/app/modules/shared/components/input-date/input-date.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {async, ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing';
1+
import {waitForAsync, ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing';
22
import {InputDateComponent} from './input-date.component';
33

44
describe('InputDateComponent', () => {

src/app/modules/shared/components/sidebar/sidebar.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {AzureAdB2CService} from 'src/app/modules/login/services/azure.ad.b2c.service';
2-
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
2+
import {waitForAsync, ComponentFixture, TestBed} from '@angular/core/testing';
33

44
import {SidebarComponent} from './sidebar.component';
55
import {RouterTestingModule} from '@angular/router/testing';

src/app/modules/shared/components/technologies/technologies.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
1+
import {waitForAsync, ComponentFixture, TestBed} from '@angular/core/testing';
22
import {MockStore, provideMockStore} from '@ngrx/store/testing';
33
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
44

0 commit comments

Comments
 (0)