(text: string)
| 68 | } |
| 69 | |
| 70 | function getItem(text: string): HTMLElement | null { |
| 71 | const items = fixture.debugElement |
| 72 | .queryAll(By.directive(MenuItem)) |
| 73 | .map((debugEl: DebugElement) => debugEl.nativeElement as HTMLElement); |
| 74 | return items.find(item => item.textContent?.trim() === text) || null; |
| 75 | } |
| 76 | |
| 77 | describe('dynamic updates', () => { |
| 78 | it('should update item order correctly after items are shuffled', async () => { |
no outgoing calls
no test coverage detected
searching dependent graphs…