Skip to content

Commit 38059c3

Browse files
authored
test(datepicker): fix test failure against view engine (#19273)
Fixes one of the datepicker tests that fails when running against ViewEngine.
1 parent ec5f74c commit 38059c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material/datepicker/date-range-input.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ describe('MatDateRangeInput', () => {
336336

337337
formFieldContainer.click();
338338
fixture.detectChanges();
339+
tick();
339340

340341
expect(endInput.focus).toHaveBeenCalled();
341342
}));

0 commit comments

Comments
 (0)