Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-27 03:06:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-27 03:06:23 +0300
commitbd8a202da68db8c61150d52e246997f04c329110 (patch)
tree27231f7ecf92696b90712510ea408fb7d1b6366b /spec/javascripts/vue_shared
parent59a349817c0869e8e0d750884b34256ca4faefca (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/javascripts/vue_shared')
-rw-r--r--spec/javascripts/vue_shared/components/pagination/graphql_pagination_spec.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/javascripts/vue_shared/components/pagination/graphql_pagination_spec.js b/spec/javascripts/vue_shared/components/pagination/graphql_pagination_spec.js
index 7445da6cdee..204c0decfd8 100644
--- a/spec/javascripts/vue_shared/components/pagination/graphql_pagination_spec.js
+++ b/spec/javascripts/vue_shared/components/pagination/graphql_pagination_spec.js
@@ -1,14 +1,18 @@
-import { shallowMount } from '@vue/test-utils';
+import { shallowMount, createLocalVue } from '@vue/test-utils';
import GraphqlPagination from '~/vue_shared/components/pagination/graphql_pagination.vue';
+const localVue = createLocalVue();
+
describe('Graphql Pagination component', () => {
let wrapper;
function factory({ hasNextPage = true, hasPreviousPage = true }) {
- wrapper = shallowMount(GraphqlPagination, {
+ wrapper = shallowMount(localVue.extend(GraphqlPagination), {
propsData: {
hasNextPage,
hasPreviousPage,
},
+ sync: false,
+ localVue,
});
}