(keyCode: number, key: string)
| 345 | }); |
| 346 | |
| 347 | function keyDownOnPrimaryAction(keyCode: number, key: string) { |
| 348 | const keyDownEvent = createKeyboardEvent('keydown', keyCode, key); |
| 349 | dispatchEvent(primaryAction, keyDownEvent); |
| 350 | fixture.detectChanges(); |
| 351 | } |
| 352 | |
| 353 | function getEditInput(): HTMLElement { |
| 354 | return chipNativeElement.querySelector('.mat-chip-edit-input')!; |
no test coverage detected
searching dependent graphs…