summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-01-09 01:06:27 +0000
committerJacob Schatz <jschatz@gitlab.com>2018-01-09 01:06:27 +0000
commit365c0c6371896aecb5713ba40aa9e87a29b3b7d5 (patch)
treeb2263f9ce33881743453478bd9f926de9b2d4962 /spec/javascripts
parentbd50ecbad8c00e7c9ab5c60fa8bc839a8905b4ab (diff)
downloadgitlab-ce-365c0c6371896aecb5713ba40aa9e87a29b3b7d5.tar.gz
Improve table pagination spec
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/vue_shared/components/table_pagination_spec.js2
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', () => {