Skip to content

Commit 2b01908

Browse files
committed
fix(tests): delete duped test
1 parent 13bfdf0 commit 2b01908

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/sidebar/components/search/test/SearchIconButton-test.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)