summaryrefslogtreecommitdiff
path: root/spec/frontend/header_search
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-15 18:10:36 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-15 18:10:36 +0000
commit99aa31992d4398d35c9df4854f5fb494984a9e0b (patch)
treec2ca79f7ea8e5daaf8e62b5d523a986331d97647 /spec/frontend/header_search
parent229395d3af51cd46a9179f2eba142c027d08b208 (diff)
downloadgitlab-ce-99aa31992d4398d35c9df4854f5fb494984a9e0b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/header_search')
-rw-r--r--spec/frontend/header_search/init_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/header_search/init_spec.js b/spec/frontend/header_search/init_spec.js
index 580798a6155..40c1843d461 100644
--- a/spec/frontend/header_search/init_spec.js
+++ b/spec/frontend/header_search/init_spec.js
@@ -27,7 +27,7 @@ describe('Header Search EventListener', () => {
expect(addEventListenerSpy).toHaveBeenCalledTimes(2);
});
- it('removes event listener ', async () => {
+ it('removes event listener', async () => {
const searchInputBox = document?.querySelector('#search');
const removeEventListenerSpy = jest.spyOn(searchInputBox, 'removeEventListener');
jest.mock('~/header_search', () => ({ initHeaderSearchApp: jest.fn() }));