File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2510,7 +2510,7 @@ describe('MatMenu', () => {
25102510 } ) ,
25112511 ) ;
25122512
2513- it ( 'should not re- focus a child menu trigger when hovering another trigger' , fakeAsync ( ( ) => {
2513+ it ( 'should preserve focus on a child menu trigger when hovering another trigger' , fakeAsync ( ( ) => {
25142514 dispatchFakeEvent ( instance . rootTriggerEl . nativeElement , 'mousedown' ) ;
25152515 instance . rootTriggerEl . nativeElement . click ( ) ;
25162516 fixture . detectChanges ( ) ;
@@ -2529,7 +2529,7 @@ describe('MatMenu', () => {
25292529 fixture . detectChanges ( ) ;
25302530 tick ( 500 ) ;
25312531
2532- expect ( document . activeElement ) . not . toBe (
2532+ expect ( document . activeElement ) . toBe (
25332533 levelOneTrigger ,
25342534 'Expected focus not to be returned to the initial trigger.' ,
25352535 ) ;
You can’t perform that action at this time.
0 commit comments