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

mock_data.js « commit « projects « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e4dcb24c4c025971d3e3c99b5625e4d766c25a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { I18N_MODAL } from '~/projects/commit/constants';

export default {
  mockModal: {
    modalTitle: '_modal_title_',
    endpoint: '_endpoint_',
    branch: '_branch_',
    pushCode: true,
    defaultBranch: '_branch_',
    existingBranch: '_existing_branch',
    branchesEndpoint: '_branches_endpoint_',
  },
  modalPropsData: {
    i18n: {
      branchLabel: '_branch_label_',
      actionPrimaryText: '_action_primary_text_',
      startMergeRequest: '_start_merge_request_',
      existingBranch: I18N_MODAL.existingBranch,
      branchInFork: '_new_branch_in_fork_message_',
      newMergeRequest: '_new merge request_',
      actionCancelText: '_action_cancel_text_',
    },
    modalId: '_modal_id_',
    openModal: '_open_modal_',
  },
  mockBranches: ['_branch_1', '_abc_', '_master_'],
  mockProjects: ['_project_1', '_abc_', '_project_'],
};