diff options
Diffstat (limited to 'spec/frontend/vue_shared/components/badges/beta_badge_spec.js')
-rw-r--r-- | spec/frontend/vue_shared/components/badges/beta_badge_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/vue_shared/components/badges/beta_badge_spec.js b/spec/frontend/vue_shared/components/badges/beta_badge_spec.js index c930c6d5708..d826ca5c7c0 100644 --- a/spec/frontend/vue_shared/components/badges/beta_badge_spec.js +++ b/spec/frontend/vue_shared/components/badges/beta_badge_spec.js @@ -1,4 +1,4 @@ -import { shallowMount } from '@vue/test-utils'; +import { mount } from '@vue/test-utils'; import { GlBadge } from '@gitlab/ui'; import BetaBadge from '~/vue_shared/components/badges/beta_badge.vue'; @@ -7,7 +7,7 @@ describe('Beta badge component', () => { const findBadge = () => wrapper.findComponent(GlBadge); const createWrapper = (props = {}) => { - wrapper = shallowMount(BetaBadge, { + wrapper = mount(BetaBadge, { propsData: { ...props }, }); }; |