diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 09:10:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 09:10:36 +0300 |
commit | e9ae9c5f2ee47b084038ff62319504fc6d0abf20 (patch) | |
tree | 6a515ac128d8a351ca028c45e2f29ab1065738a3 /spec/frontend | |
parent | edd6fda56d54d7223eb67a15341603e44c3a5f7a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend')
-rw-r--r-- | spec/frontend/__helpers__/mock_apollo_helper.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/frontend/__helpers__/mock_apollo_helper.js b/spec/frontend/__helpers__/mock_apollo_helper.js index 520d6c72541..ee4bbd42b1e 100644 --- a/spec/frontend/__helpers__/mock_apollo_helper.js +++ b/spec/frontend/__helpers__/mock_apollo_helper.js @@ -26,7 +26,5 @@ export function createMockClient(handlers = [], resolvers = {}, cacheOptions = { export default function createMockApollo(handlers, resolvers, cacheOptions) { const mockClient = createMockClient(handlers, resolvers, cacheOptions); - const apolloProvider = new VueApollo({ defaultClient: mockClient }); - - return apolloProvider; + return new VueApollo({ defaultClient: mockClient }); } |