debian-mirror-gitlab/spec/frontend/pipelines/test_reports/mock_data.js

32 lines
693 B
JavaScript
Raw Normal View History

2019-12-26 22:10:19 +05:30
import { TestStatus } from '~/pipelines/constants';
2020-01-01 13:55:28 +05:30
export default [
2019-12-26 22:10:19 +05:30
{
classname: 'spec.test_spec',
2021-01-03 14:25:43 +05:30
file: 'spec/trace_spec.rb',
2019-12-26 22:10:19 +05:30
execution_time: 0,
name: 'Test#skipped text',
stack_trace: null,
status: TestStatus.SKIPPED,
system_output: null,
},
2021-01-03 14:25:43 +05:30
{
classname: 'spec.test_spec',
file: 'spec/trace_spec.rb',
execution_time: 0,
name: 'Test#error text',
stack_trace: null,
status: TestStatus.ERROR,
system_output: null,
},
{
classname: 'spec.test_spec',
file: 'spec/trace_spec.rb',
execution_time: 0,
name: 'Test#unknown text',
stack_trace: null,
status: TestStatus.UNKNOWN,
system_output: null,
},
2019-12-26 22:10:19 +05:30
];