debian-mirror-gitlab/spec/frontend/vue_mr_widget/components/terraform/mock_data.js
2020-08-09 17:44:08 +05:30

31 lines
665 B
JavaScript

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,
};