mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: fix broken test build caused by merge conflict (#5339)
This commit is contained in:
@@ -281,7 +281,7 @@ describe('MdSelect', () => {
|
||||
trigger.click();
|
||||
fixture.detectChanges();
|
||||
|
||||
const option = overlayContainerElement.querySelector('md-option');
|
||||
const option = overlayContainerElement.querySelector('md-option')!;
|
||||
const event = dispatchKeyboardEvent(option, 'keydown', SPACE);
|
||||
|
||||
expect(event.defaultPrevented).toBe(true);
|
||||
@@ -291,7 +291,7 @@ describe('MdSelect', () => {
|
||||
trigger.click();
|
||||
fixture.detectChanges();
|
||||
|
||||
const option = overlayContainerElement.querySelector('md-option');
|
||||
const option = overlayContainerElement.querySelector('md-option')!;
|
||||
const event = dispatchKeyboardEvent(option, 'keydown', ENTER);
|
||||
|
||||
expect(event.defaultPrevented).toBe(true);
|
||||
|
||||
Reference in New Issue
Block a user