From aaf59610548d9b0fd01acfd50e831cbe519ecba2 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 18 Mar 2020 15:09:45 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/frontend/snippets/components/snippet_header_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/frontend/snippets') diff --git a/spec/frontend/snippets/components/snippet_header_spec.js b/spec/frontend/snippets/components/snippet_header_spec.js index 5cf20119189..c74f7615538 100644 --- a/spec/frontend/snippets/components/snippet_header_spec.js +++ b/spec/frontend/snippets/components/snippet_header_spec.js @@ -32,7 +32,7 @@ describe('Snippet header component', () => { const errorMsg = 'Foo bar'; const err = { message: errorMsg }; - const resolveMutate = jest.fn(() => Promise.resolve()); + const resolveMutate = jest.fn(() => Promise.resolve({ data: {} })); const rejectMutation = jest.fn(() => Promise.reject(err)); const mutationTypes = { -- cgit v1.2.1