File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -411,9 +411,9 @@ describe('keydownControl', () => {
411
411
} ) ;
412
412
} ) ;
413
413
414
- describe ( 'ctrl/cmd key combinations' , ( ) => {
414
+ describe ( 'ctrl/cmd/alt key combinations' , ( ) => {
415
415
// Test both ctrl and cmd key combinations
416
- [ withCtrl , withCmd ] . forEach ( modifier => {
416
+ [ withCtrl , withCmd , withAlt ] . forEach ( modifier => {
417
417
const modifierName = Object . keys ( modifier ) [ 0 ] . replace ( 'Key' , '' ) ;
418
418
419
419
it ( `should handle ${ modifierName } key combinations` , ( ) => {
@@ -423,12 +423,4 @@ describe('keydownControl', () => {
423
423
} ) ;
424
424
} ) ;
425
425
} ) ;
426
-
427
- describe ( 'alt key combinations' , ( ) => {
428
- it ( 'should handle alt key combinations' , ( ) => {
429
- pressKey ( KeyCode . KEY_A , withAlt ) ;
430
- // Most alt combinations should be ignored (return early)
431
- expect ( mockDispatch ) . not . toHaveBeenCalled ( ) ;
432
- } ) ;
433
- } ) ;
434
426
} ) ;
You can’t perform that action at this time.
0 commit comments