diff options
Diffstat (limited to 'spec/frontend/static_site_editor/graphql/resolvers/file_spec.js')
-rw-r--r-- | spec/frontend/static_site_editor/graphql/resolvers/file_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/static_site_editor/graphql/resolvers/file_spec.js b/spec/frontend/static_site_editor/graphql/resolvers/file_spec.js index 24651543650..83ad23f7dcf 100644 --- a/spec/frontend/static_site_editor/graphql/resolvers/file_spec.js +++ b/spec/frontend/static_site_editor/graphql/resolvers/file_spec.js @@ -14,7 +14,7 @@ describe('static_site_editor/graphql/resolvers/file', () => { it('returns file content and title when fetching file successfully', () => { loadSourceContent.mockResolvedValueOnce({ title, content }); - return fileResolver({ fullPath: projectId }, { path: sourcePath }).then(file => { + return fileResolver({ fullPath: projectId }, { path: sourcePath }).then((file) => { expect(file).toEqual({ __typename: 'File', title, |