diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-12-06 19:53:05 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-12-06 19:53:05 +0000 |
commit | 743451b231445bfc2ee295d8097bdcdeb1ff47ad (patch) | |
tree | 092a7a8c0171bb77b72ef9bcaba46d5585262e7d /spec | |
parent | 6808d11b058939e61deea8c164f5b01aa19c9176 (diff) | |
parent | 67f20699d5c860f4cbdaeada86032c24a91bd9b2 (diff) | |
download | gitlab-ce-743451b231445bfc2ee295d8097bdcdeb1ff47ad.tar.gz |
Merge branch '35773-search-box-close-dropdown' into 'master'
Close all open dropdowns when search input is clicked
Closes #35773
See merge request gitlab-org/gitlab-ce!15737
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/search_autocomplete_spec.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/javascripts/search_autocomplete_spec.js b/spec/javascripts/search_autocomplete_spec.js index a2394857b82..fdfc59a6f12 100644 --- a/spec/javascripts/search_autocomplete_spec.js +++ b/spec/javascripts/search_autocomplete_spec.js @@ -191,8 +191,6 @@ import '~/lib/utils/common_utils'; // browsers will not trigger default behavior (form submit, in this // example) on JavaScript-created keypresses. expect(submitSpy).not.toHaveBeenTriggered(); - // Does a worse job at capturing the intent of the test, but works. - expect(enterKeyEvent.isDefaultPrevented()).toBe(true); }); }); }).call(window); |