Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/new_branch_spec.js')
-rw-r--r--spec/frontend/new_branch_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/new_branch_spec.js b/spec/frontend/new_branch_spec.js
index 5a09598059d..766e840cac5 100644
--- a/spec/frontend/new_branch_spec.js
+++ b/spec/frontend/new_branch_spec.js
@@ -11,7 +11,7 @@ describe('Branch', () => {
describe('create a new branch', () => {
function fillNameWith(value) {
document.querySelector('.js-branch-name').value = value;
- const event = new CustomEvent('blur');
+ const event = new CustomEvent('change');
document.querySelector('.js-branch-name').dispatchEvent(event);
}