diff options
Diffstat (limited to 'spec/frontend/pipelines/graph/job_name_component_spec.js')
-rw-r--r-- | spec/frontend/pipelines/graph/job_name_component_spec.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/frontend/pipelines/graph/job_name_component_spec.js b/spec/frontend/pipelines/graph/job_name_component_spec.js index 3574b66403e..f0aa646b8d7 100644 --- a/spec/frontend/pipelines/graph/job_name_component_spec.js +++ b/spec/frontend/pipelines/graph/job_name_component_spec.js @@ -21,12 +21,7 @@ describe('job name component', () => { }); it('should render the provided name', () => { - expect( - wrapper - .find('.ci-status-text') - .text() - .trim(), - ).toBe(propsData.name); + expect(wrapper.text()).toBe(propsData.name); }); it('should render an icon with the provided status', () => { |