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 innerSuite = suites['test-suite'];
|
||||
if (innerSuite) {
|
||||
result.push(
|
||||
...ReportConverter.convertSuite(innerSuite, ReportConverter.convertTestsFunction),
|
||||
);
|
||||
result.push(...ReportConverter.convertSuite(innerSuite, ReportConverter.convertTests));
|
||||
}
|
||||
|
||||
const tests = suites['test-case'];
|
||||
if (tests) {
|
||||
result.push(...ReportConverter.convertTestsFunction(suites.fullname, tests));
|
||||
result.push(...ReportConverter.convertTests(suites.fullname, tests));
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue