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