File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
packages/compass/src/main Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -664,10 +664,30 @@ describe('CompassMenu', function () {
664664 label : 'Test Meta' ,
665665 accelerator : 'Meta+Ctrl+T' ,
666666 } ,
667+ {
668+ label : 'Test CmdOrCtrl' ,
669+ accelerator : 'CmdOrCtrl+Q' ,
670+ } ,
671+ {
672+ label : 'Test Command' ,
673+ accelerator : 'Command+H' ,
674+ } ,
675+ {
676+ label : 'Test Command+Shift' ,
677+ accelerator : 'Command+Shift+H' ,
678+ } ,
679+ {
680+ label : 'Test Atl+CmdOrCtrl' ,
681+ accelerator : 'Alt+CmdOrCtrl+S' ,
682+ } ,
683+ {
684+ label : 'Test Shift+CmdOrCtrl' ,
685+ accelerator : 'Shift+CmdOrCtrl+S' ,
686+ } ,
667687 ] ) ;
668688 const menuWillClose = once ( menu , 'menu-will-close' ) ;
669689 menu . popup ( {
670- window : new BrowserWindow ( { show : false , width : 100 , height : 100 } ) ,
690+ window : new BrowserWindow ( { show : false } ) ,
671691 } ) ;
672692 menu . closePopup ( ) ;
673693 await menuWillClose ;
You can’t perform that action at this time.
0 commit comments