gitlab-org--gitlab-foss/spec/javascripts/diffs/mock_data/diff_with_commit.js

13 lines
301 B
JavaScript
Raw Normal View History

import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils';
const FIXTURE = 'merge_request_diffs/with_commit.json';
preloadFixtures(FIXTURE);
export default function getDiffWithCommit() {
return convertObjectPropsToCamelCase(
getJSONFixture(FIXTURE),
{ deep: true },
);
}