fixed karma

This commit is contained in:
Phil Hughes 2018-03-21 17:26:07 +00:00
parent 7d651ad1de
commit 4d1bae708d
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F

View file

@ -20,16 +20,8 @@ describe('detailedMetric', () => {
}); });
}); });
it('does not display details', () => { it('does not render the element', () => {
expect(vm.$el.innerText).not.toContain('/'); expect(vm.$el.innerHTML).toEqual(undefined);
});
it('does not display the modal', () => {
expect(vm.$el.querySelector('.performance-bar-modal')).toBeNull();
});
it('displays the metric name', () => {
expect(vm.$el.innerText).toContain('gitaly');
}); });
}); });