summaryrefslogtreecommitdiff
path: root/spec/frontend/pipeline_editor/components/commit/commit_form_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/pipeline_editor/components/commit/commit_form_spec.js')
-rw-r--r--spec/frontend/pipeline_editor/components/commit/commit_form_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/pipeline_editor/components/commit/commit_form_spec.js b/spec/frontend/pipeline_editor/components/commit/commit_form_spec.js
index bec6c2a8d0c..0ee6da9d329 100644
--- a/spec/frontend/pipeline_editor/components/commit/commit_form_spec.js
+++ b/spec/frontend/pipeline_editor/components/commit/commit_form_spec.js
@@ -152,7 +152,7 @@ describe('Pipeline Editor | Commit Form', () => {
});
it('emits "scrolled-to-commit-form"', () => {
- expect(wrapper.emitted()['scrolled-to-commit-form']).toBeTruthy();
+ expect(wrapper.emitted()['scrolled-to-commit-form']).toHaveLength(1);
});
});
});