Skip to content

Commit 02bbe0e

Browse files
committed
fix: test failure
1 parent 2ad9db2 commit 02bbe0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/autocomplete/autocomplete.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,8 @@ describe('MdAutocomplete', () => {
14871487

14881488
fixture.componentInstance.states.push('Puerto Rico');
14891489
fixture.detectChanges();
1490+
tick();
1491+
fixture.detectChanges();
14901492

14911493
let options = overlayContainerElement.querySelectorAll('md-option') as NodeListOf<HTMLElement>;
14921494
let spy = fixture.componentInstance.optionSelected;

0 commit comments

Comments
 (0)