diff options
author | Phil Hughes <me@iamphill.com> | 2018-03-21 17:26:07 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-03-21 17:26:07 +0000 |
commit | 4d1bae708dbb072508acde250870e7a9cc6e0862 (patch) | |
tree | d7cb580d24733189311366964dd8bdac016c0575 /spec | |
parent | 7d651ad1de8a6b150164a5f94938e2f79f875f93 (diff) | |
download | gitlab-ce-4d1bae708dbb072508acde250870e7a9cc6e0862.tar.gz |
fixed karmaperformance-bar-position-fix
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/performance_bar/components/detailed_metric_spec.js | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/spec/javascripts/performance_bar/components/detailed_metric_spec.js b/spec/javascripts/performance_bar/components/detailed_metric_spec.js index eee0210a2a9..c4611dc7662 100644 --- a/spec/javascripts/performance_bar/components/detailed_metric_spec.js +++ b/spec/javascripts/performance_bar/components/detailed_metric_spec.js @@ -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); }); }); |