()
| 2474 | it('should reposition the panel when the amount of options changes', async () => { |
| 2475 | const fixture = createSimpleAutocomplete(); |
| 2476 | const flushPosition = async () => { |
| 2477 | fixture.detectChanges(); |
| 2478 | await wait(0); |
| 2479 | fixture.detectChanges(); |
| 2480 | await wait(0); |
| 2481 | fixture.detectChanges(); |
| 2482 | // Safari seems to require an extra round that other browsers don't. |
| 2483 | await wait(0); |
| 2484 | fixture.detectChanges(); |
| 2485 | await wait(0); |
| 2486 | fixture.detectChanges(); |
| 2487 | await wait(0); |
| 2488 | fixture.detectChanges(); |
| 2489 | await wait(0); |
| 2490 | fixture.detectChanges(); |
| 2491 | }; |
| 2492 | |
| 2493 | await flushPosition(); |
| 2494 |
no test coverage detected