Skip to content

Commit fc49645

Browse files
jcorrea97alinelariguet
authored andcommitted
test(lookup): corrige teste intermitente
fixes DTHFUI-5553
1 parent 787ac46 commit fc49645

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/ui/src/lib/components/po-field/po-lookup/po-lookup.component.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ComponentRef, Injector } from '@angular/core';
2-
import { ComponentFixture, inject, TestBed, fakeAsync, tick } from '@angular/core/testing';
2+
import { ComponentFixture, inject, TestBed, fakeAsync, tick, flush } from '@angular/core/testing';
33
import { Routes } from '@angular/router';
44
import { RouterTestingModule } from '@angular/router/testing';
55

@@ -1092,6 +1092,7 @@ describe('PoLookupComponent:', () => {
10921092
fixture.detectChanges();
10931093

10941094
expect(component.inputEl.nativeElement.value).toBe('Peter Parker');
1095+
flush();
10951096
}));
10961097
});
10971098
});

0 commit comments

Comments
 (0)