Add createCheck to display test results in GitHub UI
parent
0dba5f77e1
commit
c61d8d32de
File diff suppressed because one or more lines are too long
|
|
@ -32,14 +32,12 @@ class ReportConverter {
|
||||||
const result = [];
|
const result = [];
|
||||||
const innerSuite = suites['test-suite'];
|
const innerSuite = suites['test-suite'];
|
||||||
if (innerSuite) {
|
if (innerSuite) {
|
||||||
result.push(
|
result.push(...ReportConverter.convertSuite(innerSuite, ReportConverter.convertTests));
|
||||||
...ReportConverter.convertSuite(innerSuite, ReportConverter.convertTestsFunction),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const tests = suites['test-case'];
|
const tests = suites['test-case'];
|
||||||
if (tests) {
|
if (tests) {
|
||||||
result.push(...ReportConverter.convertTestsFunction(suites.fullname, tests));
|
result.push(...ReportConverter.convertTests(suites.fullname, tests));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue