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
1 changed files with 2 additions and 10 deletions

View File

@ -20,16 +20,8 @@ describe('detailedMetric', () => {
});
});
it('does not display details', () => {
expect(vm.$el.innerText).not.toContain('/');
});
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');
it('does not render the element', () => {
expect(vm.$el.innerHTML).toEqual(undefined);
});
});