Commit a20566e2 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix broken spec

parent 98989900
...@@ -27,14 +27,12 @@ export default { ...@@ -27,14 +27,12 @@ export default {
components: { components: {
Icon, Icon,
}, },
props: { props: {
status: { status: {
type: Object, type: Object,
required: true, required: true,
}, },
}, },
computed: { computed: {
cssClass() { cssClass() {
const status = this.status.group; const status = this.status.group;
......
...@@ -27,7 +27,7 @@ describe('CI Icon component', () => { ...@@ -27,7 +27,7 @@ describe('CI Icon component', () => {
icon: 'icon_status_success', icon: 'icon_status_success',
group: 'success', group: 'success',
}, },
})(); });
expect(vm.$el.classList.contains('ci-status-icon-success')).toEqual(true); expect(vm.$el.classList.contains('ci-status-icon-success')).toEqual(true);
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment