diff options
Diffstat (limited to 'spec/frontend/search/index_spec.js')
-rw-r--r-- | spec/frontend/search/index_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/search/index_spec.js b/spec/frontend/search/index_spec.js index 31b5aa3686b..023cd341345 100644 --- a/spec/frontend/search/index_spec.js +++ b/spec/frontend/search/index_spec.js @@ -8,7 +8,7 @@ jest.mock('~/search/sidebar'); describe('initSearchApp', () => { let defaultLocation; - const setUrl = query => { + const setUrl = (query) => { window.location.href = `https://localhost:3000/search${query}`; window.location.search = query; }; |