23 lines
400 B
JavaScript
23 lines
400 B
JavaScript
import { mockJobs } from 'jest/pipeline_editor/mock_data';
|
|
|
|
export const mockLintDataError = {
|
|
data: {
|
|
lintCI: {
|
|
errors: ['Error message'],
|
|
warnings: ['Warning message'],
|
|
valid: false,
|
|
jobs: mockJobs,
|
|
},
|
|
},
|
|
};
|
|
|
|
export const mockLintDataValid = {
|
|
data: {
|
|
lintCI: {
|
|
errors: [],
|
|
warnings: [],
|
|
valid: true,
|
|
jobs: mockJobs,
|
|
},
|
|
},
|
|
};
|