summaryrefslogtreecommitdiff
path: root/spec/frontend/runner/components/runner_tags_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/runner/components/runner_tags_spec.js')
-rw-r--r--spec/frontend/runner/components/runner_tags_spec.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/spec/frontend/runner/components/runner_tags_spec.js b/spec/frontend/runner/components/runner_tags_spec.js
index 7bb3f65e4ba..b6487ade0d6 100644
--- a/spec/frontend/runner/components/runner_tags_spec.js
+++ b/spec/frontend/runner/components/runner_tags_spec.js
@@ -1,5 +1,5 @@
import { GlBadge } from '@gitlab/ui';
-import { shallowMount } from '@vue/test-utils';
+import { mount } from '@vue/test-utils';
import RunnerTags from '~/runner/components/runner_tags.vue';
describe('RunnerTags', () => {
@@ -9,7 +9,7 @@ describe('RunnerTags', () => {
const findBadgesAt = (i = 0) => wrapper.findAllComponents(GlBadge).at(i);
const createComponent = ({ props = {} } = {}) => {
- wrapper = shallowMount(RunnerTags, {
+ wrapper = mount(RunnerTags, {
propsData: {
tagList: ['tag1', 'tag2'],
...props,
@@ -45,14 +45,6 @@ describe('RunnerTags', () => {
expect(findBadge().props('size')).toBe('sm');
});
- it('Displays tags with a variant', () => {
- createComponent({
- props: { variant: 'warning' },
- });
-
- expect(findBadge().props('variant')).toBe('warning');
- });
-
it('Is empty when there are no tags', () => {
createComponent({
props: { tagList: null },