diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2016-12-15 17:40:25 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-01-10 01:01:28 +0300 |
commit | 6662f034be3d576fba32d0a0acdc2cb95145a761 (patch) | |
tree | 820a5c7dbce48d023dc8d8ca4e7cfba224f09517 /spec/javascripts | |
parent | 410e223597c78df30ddcf71a859b65ea05729794 (diff) |
Fix eslint
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/filtered_search/filtered_search_dropdown_manager_spec.js.es6 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/javascripts/filtered_search/filtered_search_dropdown_manager_spec.js.es6 b/spec/javascripts/filtered_search/filtered_search_dropdown_manager_spec.js.es6 index 11765d7d7ea..4a358bd43e3 100644 --- a/spec/javascripts/filtered_search/filtered_search_dropdown_manager_spec.js.es6 +++ b/spec/javascripts/filtered_search/filtered_search_dropdown_manager_spec.js.es6 @@ -11,10 +11,9 @@ beforeEach(() => { spyOn(gl.FilteredSearchTokenizer, 'processTokens') - .and.callFake(query => ({ - lastToken: {} - }) - ); + .and.callFake(() => ({ + lastToken: {}, + })); const input = document.createElement('input'); input.classList.add('filtered-search'); |