diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-24 18:08:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-24 18:08:50 +0300 |
commit | 4c5468b40825debc2b7bbe08b975dedd2f7f1523 (patch) | |
tree | ee64e91b6d014f452e9c9dce6ad9f747a5929108 /spec/frontend/alert_management/components/alert_sidebar_status_spec.js | |
parent | d081e00aa79079792b040af3323883f1f43830c5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/alert_management/components/alert_sidebar_status_spec.js')
-rw-r--r-- | spec/frontend/alert_management/components/alert_sidebar_status_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/alert_management/components/alert_sidebar_status_spec.js b/spec/frontend/alert_management/components/alert_sidebar_status_spec.js index 94643966a43..aa0cb230e5b 100644 --- a/spec/frontend/alert_management/components/alert_sidebar_status_spec.js +++ b/spec/frontend/alert_management/components/alert_sidebar_status_spec.js @@ -1,4 +1,4 @@ -import { shallowMount } from '@vue/test-utils'; +import { mount } from '@vue/test-utils'; import { GlDropdownItem, GlLoadingIcon } from '@gitlab/ui'; import { trackAlertStatusUpdateOptions } from '~/alert_management/constants'; import AlertSidebarStatus from '~/alert_management/components/sidebar/sidebar_status.vue'; @@ -14,7 +14,7 @@ describe('Alert Details Sidebar Status', () => { const findStatusLoadingIcon = () => wrapper.find(GlLoadingIcon); function mountComponent({ data, sidebarCollapsed = true, loading = false, stubs = {} } = {}) { - wrapper = shallowMount(AlertSidebarStatus, { + wrapper = mount(AlertSidebarStatus, { propsData: { alert: { ...mockAlert }, ...data, |