We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13bfdf0 commit 2b01908Copy full SHA for 2b01908
1 file changed
src/sidebar/components/search/test/SearchIconButton-test.js
@@ -119,24 +119,6 @@ describe('SearchIconButton', () => {
119
assert.calledWith(fakeStore.openSidebarPanel, 'searchAnnotations');
120
});
121
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
140
it('does nothing if search panel is already open when "Cmd-K" is pressed', () => {
141
fakeIsMacOS.returns(true);
142
fakeStore.isSidebarPanelOpen.returns(true);
0 commit comments