summaryrefslogtreecommitdiff
path: root/spec/frontend/integrations/edit/mock_data.js
blob: 3c45ed0fb1b1d5f1d9b92105fcbf66a50ce69083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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' },
];