diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2018-01-09 01:06:27 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2018-01-09 01:06:27 +0000 |
commit | 365c0c6371896aecb5713ba40aa9e87a29b3b7d5 (patch) | |
tree | b2263f9ce33881743453478bd9f926de9b2d4962 /spec/javascripts | |
parent | bd50ecbad8c00e7c9ab5c60fa8bc839a8905b4ab (diff) | |
download | gitlab-ce-365c0c6371896aecb5713ba40aa9e87a29b3b7d5.tar.gz |
Improve table pagination spec
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/vue_shared/components/table_pagination_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/vue_shared/components/table_pagination_spec.js b/spec/javascripts/vue_shared/components/table_pagination_spec.js index 1465ef5855f..b3b5dd1d10a 100644 --- a/spec/javascripts/vue_shared/components/table_pagination_spec.js +++ b/spec/javascripts/vue_shared/components/table_pagination_spec.js @@ -32,7 +32,7 @@ describe('Pagination component', () => { change: spy, }); - expect(component.$el.innerHTML).not.toBeDefined(); + expect(component.$el.childNodes.length).toEqual(0); }); describe('prev button', () => { |