debian-mirror-gitlab/spec/frontend/ci/ci_lint/mock_data.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
403 B
JavaScript
Raw Normal View History

2023-03-04 22:38:38 +05:30
import { mockJobs } from 'jest/ci/pipeline_editor/mock_data';
2021-01-29 00:20:46 +05:30
2022-08-13 15:12:31 +05:30
export const mockLintDataError = {
data: {
lintCI: {
errors: ['Error message'],
warnings: ['Warning message'],
valid: false,
jobs: mockJobs,
},
},
};
2021-01-29 00:20:46 +05:30
export const mockLintDataValid = {
data: {
lintCI: {
errors: [],
warnings: [],
valid: true,
jobs: mockJobs,
},
},
};