Add createCheck to display test results in GitHub UI

pull/97/head
David Finol 2021-02-21 08:37:47 -06:00
parent c61d8d32de
commit a28a333d0b
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,7 @@ class ReportConverter {
static convertSuite(suites) {
if (Array.isArray(suites)) {
const result = [];
suites.array.forEach(suite => {
suites.forEach(suite => {
result.concat(ReportConverter.convertSuite(suite));
});
return result;
@ -46,7 +46,7 @@ class ReportConverter {
static convertTests(suite, tests) {
if (Array.isArray(tests)) {
const result = [];
tests.array.forEach(test => {
tests.forEach(test => {
result.concat(ReportConverter.convertTests(suite, test));
});
return result;