diff options
Diffstat (limited to 'spec/frontend/ml/experiment_tracking/routes/candidates/show/components/candidate_detail_row_spec.js')
-rw-r--r-- | spec/frontend/ml/experiment_tracking/routes/candidates/show/components/candidate_detail_row_spec.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/spec/frontend/ml/experiment_tracking/routes/candidates/show/components/candidate_detail_row_spec.js b/spec/frontend/ml/experiment_tracking/routes/candidates/show/components/candidate_detail_row_spec.js index 53dbd796d85..cd252560590 100644 --- a/spec/frontend/ml/experiment_tracking/routes/candidates/show/components/candidate_detail_row_spec.js +++ b/spec/frontend/ml/experiment_tracking/routes/candidates/show/components/candidate_detail_row_spec.js @@ -2,15 +2,14 @@ import { shallowMount } from '@vue/test-utils'; import DetailRow from '~/ml/experiment_tracking/routes/candidates/show/components/candidate_detail_row.vue'; describe('CandidateDetailRow', () => { - const SECTION_LABEL_CELL = 0; - const ROW_LABEL_CELL = 1; - const ROW_VALUE_CELL = 2; + const ROW_LABEL_CELL = 0; + const ROW_VALUE_CELL = 1; let wrapper; const createWrapper = ({ slots = {} } = {}) => { wrapper = shallowMount(DetailRow, { - propsData: { sectionLabel: 'Section', label: 'Item' }, + propsData: { label: 'Item' }, slots, }); }; @@ -19,10 +18,6 @@ describe('CandidateDetailRow', () => { beforeEach(() => createWrapper()); - it('renders section label', () => { - expect(findCellAt(SECTION_LABEL_CELL).text()).toBe('Section'); - }); - it('renders row label', () => { expect(findCellAt(ROW_LABEL_CELL).text()).toBe('Item'); }); |