2020-11-27 07:09:14 -05:00
|
|
|
import { mockJobs } from 'jest/pipeline_editor/mock_data';
|
2020-11-03 04:09:07 -05:00
|
|
|
|
2022-07-18 14:08:47 -04:00
|
|
|
export const mockLintDataError = {
|
|
|
|
data: {
|
|
|
|
lintCI: {
|
|
|
|
errors: ['Error message'],
|
|
|
|
warnings: ['Warning message'],
|
|
|
|
valid: false,
|
|
|
|
jobs: mockJobs,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
2020-11-03 04:09:07 -05:00
|
|
|
export const mockLintDataValid = {
|
|
|
|
data: {
|
|
|
|
lintCI: {
|
|
|
|
errors: [],
|
|
|
|
warnings: [],
|
|
|
|
valid: true,
|
|
|
|
jobs: mockJobs,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|