File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -119,24 +119,6 @@ describe('SearchIconButton', () => {
119119 assert . calledWith ( fakeStore . openSidebarPanel , 'searchAnnotations' ) ;
120120 } ) ;
121121
122- it ( 'does nothing if search panel is already open when "ctrl-K" is pressed' , ( ) => {
123- fakeIsMacOS . returns ( false ) ;
124- fakeStore . isSidebarPanelOpen . returns ( true ) ;
125-
126- createSearchIconButton ( ) ;
127-
128- document . body . dispatchEvent (
129- new KeyboardEvent ( 'keydown' , {
130- bubbles : true ,
131- cancelable : true ,
132- key : 'k' ,
133- ctrlKey : true ,
134- } ) ,
135- ) ;
136-
137- assert . notCalled ( fakeStore . openSidebarPanel ) ;
138- } ) ;
139-
140122 it ( 'does nothing if search panel is already open when "Cmd-K" is pressed' , ( ) => {
141123 fakeIsMacOS . returns ( true ) ;
142124 fakeStore . isSidebarPanelOpen . returns ( true ) ;
You can’t perform that action at this time.
0 commit comments