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-25 15:06:13 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-25 15:06:13 +0300
commit8f1f6b374b69fd6356bdc5561d56f5ca9db9fadd (patch)
tree9b81a74772b269cf3d851ed2d29f97c31985b98a /spec/frontend/repository/utils
parentdbd50b6e203994cdb393494faa8fc1b2fb406487 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/repository/utils')
-rw-r--r--spec/frontend/repository/utils/commit_spec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/frontend/repository/utils/commit_spec.js b/spec/frontend/repository/utils/commit_spec.js
index 2d75358106c..e7cc28178bf 100644
--- a/spec/frontend/repository/utils/commit_spec.js
+++ b/spec/frontend/repository/utils/commit_spec.js
@@ -15,13 +15,14 @@ const mockData = [
describe('normalizeData', () => {
it('normalizes data into LogTreeCommit object', () => {
- expect(normalizeData(mockData)).toEqual([
+ expect(normalizeData(mockData, '')).toEqual([
{
sha: '123',
message: 'testing message',
committedDate: '2019-01-01',
commitPath: 'https://test.com',
fileName: 'index.js',
+ filePath: '/index.js',
type: 'blob',
__typename: 'LogTreeCommit',
},