Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fixtures.js « test_helpers « frontend_integration « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 50fa4859dfabd09a115d2d49fcddb13de0ad67dc (plain)
1
2
3
4
5
6
7
8
9
10
/* eslint-disable global-require, import/no-unresolved */
import { memoize } from 'lodash';

export const getProject = () => require('test_fixtures/api/projects/get.json');
export const getBranch = () => require('test_fixtures/api/projects/branches/get.json');
export const getMergeRequests = () => require('test_fixtures/api/merge_requests/get.json');
export const getRepositoryFiles = () => require('test_fixtures/projects_json/files.json');
export const getPipelinesEmptyResponse = () =>
  require('test_fixtures/projects_json/pipelines_empty.json');
export const getCommit = memoize(() => getBranch().commit);