diff options
author | Adriel Santiago <adriel@gitlab.com> | 2018-09-10 22:36:09 +0300 |
---|---|---|
committer | Adriel Santiago <adriel@gitlab.com> | 2018-09-12 04:16:43 +0300 |
commit | 106640e031c92813803c98674e0304a91ce07db4 (patch) | |
tree | 4bc70c7992cb0c5251002babd24d966f68cc068d /spec/javascripts/groups | |
parent | 32062a9154763aedfcbdb821898b83884a1bcd2c (diff) |
Use GitLab ui pagination component for groups
Diffstat (limited to 'spec/javascripts/groups')
-rw-r--r-- | spec/javascripts/groups/components/app_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/javascripts/groups/components/app_spec.js b/spec/javascripts/groups/components/app_spec.js index 76933cf337b..89c07d1f06d 100644 --- a/spec/javascripts/groups/components/app_spec.js +++ b/spec/javascripts/groups/components/app_spec.js @@ -24,6 +24,8 @@ const createComponent = (hideProjects = false) => { const store = new GroupsStore(false); const service = new GroupsService(mockEndpoint); + store.state.pageInfo = mockPageInfo; + return new Component({ propsData: { store, @@ -484,7 +486,6 @@ describe('AppComponent', () => { it('should render groups tree', done => { vm.store.state.groups = [mockParentGroupItem]; vm.isLoading = false; - vm.store.state.pageInfo = mockPageInfo; Vue.nextTick(() => { expect(vm.$el.querySelector('.groups-list-tree-container')).toBeDefined(); done(); |