summaryrefslogtreecommitdiff
path: root/spec/frontend/vue_mr_widget/components/terraform/mock_data.js
blob: ae280146c223da650f47ddc979cfda785fd765b5 (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 invalidPlanWithName = {
  job_name: 'Invalid Plan',
  job_path: '/path/to/ci/logs/1',
  tf_report_error: 'api_error',
};

export const invalidPlanWithoutName = {
  tf_report_error: 'invalid_json_format',
};

export const validPlanWithName = {
  create: 10,
  update: 20,
  delete: 30,
  job_name: 'Valid Plan',
  job_path: '/path/to/ci/logs/1',
};

export const validPlanWithoutName = {
  create: 10,
  update: 20,
  delete: 30,
  job_path: '/path/to/ci/logs/1',
};

export const plans = {
  invalid_plan_one: invalidPlanWithName,
  invalid_plan_two: invalidPlanWithName,
  valid_plan_one: validPlanWithName,
  valid_plan_two: validPlanWithoutName,
};