Skip to content

Commit e3d2a7d

Browse files
committed
TT-52 feat: update aync method in entry-fields
1 parent b96563a commit e3d2a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/modules/time-clock/components/entry-fields/entry-fields.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ describe('EntryFieldsComponent', () => {
222222
expect(store.dispatch).toHaveBeenCalled();
223223
});
224224

225-
it('When start_time is updated, component.last_entry is equal to time entry in the position 1', async(() => {
225+
it('When start_time is updated, component.last_entry is equal to time entry in the position 1', waitForAsync(() => {
226226
component.activeEntry = entry ;
227227
component.setDataToUpdate(entry);
228228
const updatedTime = moment().format('HH:mm:ss');

0 commit comments

Comments
 (0)