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

mock_data.js « edit « integrations « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 39e5f8521e8376ada0e75e9bf177e2aefb7c0bac (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
29
30
31
export const mockIntegrationProps = {
  id: 25,
  initialActivated: true,
  showActive: true,
  editable: true,
  triggerFieldsProps: {
    initialTriggerCommit: false,
    initialTriggerMergeRequest: false,
    initialEnableComments: false,
  },
  jiraIssuesProps: {},
  triggerEvents: [],
  fields: [],
  type: '',
  inheritFromId: 25,
};

export const mockJiraIssueTypes = [
  { id: '1', name: 'issue', description: 'issue' },
  { id: '2', name: 'bug', description: 'bug' },
  { id: '3', name: 'epic', description: 'epic' },
];

export const mockField = {
  help: 'The URL of the project',
  name: 'project_url',
  placeholder: 'https://jira.example.com',
  title: 'Project URL',
  type: 'text',
  value: '1',
};