diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-03 18:13:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-03 18:13:48 +0300 |
commit | 70a50740a20ab0027e0490487f6244f5ec961eee (patch) | |
tree | af3a8d0be30fd5788fd254ae93296ddea647cbff /spec/frontend/alerts_settings/components | |
parent | 94822e35f8bfbca6f7b161e22f61b086efb51b2a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/alerts_settings/components')
-rw-r--r-- | spec/frontend/alerts_settings/components/alerts_settings_form_spec.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/frontend/alerts_settings/components/alerts_settings_form_spec.js b/spec/frontend/alerts_settings/components/alerts_settings_form_spec.js index 298596085ef..7e0d7ff93a1 100644 --- a/spec/frontend/alerts_settings/components/alerts_settings_form_spec.js +++ b/spec/frontend/alerts_settings/components/alerts_settings_form_spec.js @@ -58,7 +58,6 @@ describe('AlertsSettingsForm', () => { afterEach(() => { if (wrapper) { wrapper.destroy(); - wrapper = null; } }); @@ -69,7 +68,7 @@ describe('AlertsSettingsForm', () => { const enableIntegration = (index, value) => { findFormFields().at(index).setValue(value); - findFormToggle().trigger('click'); + findFormToggle().vm.$emit('change', true); }; describe('with default values', () => { |