Add createCheck to display test results in GitHub UI

pull/97/head
David Finol 2021-02-21 07:59:17 -06:00
parent 0dba5f77e1
commit c61d8d32de
2 changed files with 3 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -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;