Commit d6b684e4 authored by Filipa Lacerda's avatar Filipa Lacerda

Fixes broken test in master for ci status bagde

parent 0621c8ba
---
title: Fixes broken test in master
merge_request:
author:
type: fixed
......@@ -86,7 +86,7 @@ describe('CI Badge Link Component', () => {
expect(vm.$el.getAttribute('href')).toEqual(statuses[status].details_path);
expect(vm.$el.textContent.trim()).toEqual(statuses[status].text);
expect(vm.$el.getAttribute('class')).toEqual(`ci-status ci-${statuses[status].group}`);
expect(vm.$el.getAttribute('class')).toContain(`ci-status ci-${statuses[status].group}`);
expect(vm.$el.querySelector('svg')).toBeDefined();
return vm;
});
......
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