diff options
Diffstat (limited to 'spec/frontend')
-rw-r--r-- | spec/frontend/diffs/components/diff_table_cell_spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/frontend/diffs/components/diff_table_cell_spec.js b/spec/frontend/diffs/components/diff_table_cell_spec.js index 1af0746f3bd..ad70b5695cc 100644 --- a/spec/frontend/diffs/components/diff_table_cell_spec.js +++ b/spec/frontend/diffs/components/diff_table_cell_spec.js @@ -155,6 +155,10 @@ describe('DiffTableCell', () => { }); }); + it('renders the correct line number', () => { + expect(findLineNumber().text()).toEqual(TEST_LINE_NUMBER.toString()); + }); + it('on click, dispatches setHighlightedRow', () => { expect(store.dispatch).not.toHaveBeenCalled(); |