fixed karma
This commit is contained in:
parent
7d651ad1de
commit
4d1bae708d
1 changed files with 2 additions and 10 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue