2018-12-05 23:21:45 +05:30
|
|
|
import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils';
|
|
|
|
|
|
|
|
const FIXTURE = 'merge_request_diffs/with_commit.json';
|
|
|
|
|
|
|
|
preloadFixtures(FIXTURE);
|
|
|
|
|
|
|
|
export default function getDiffWithCommit() {
|
2018-12-13 13:39:08 +05:30
|
|
|
return convertObjectPropsToCamelCase(getJSONFixture(FIXTURE), { deep: true });
|
2018-12-05 23:21:45 +05:30
|
|
|
}
|