Add createCheck to display test results in GitHub UI
parent
c61d8d32de
commit
a28a333d0b
File diff suppressed because one or more lines are too long
|
|
@ -22,7 +22,7 @@ class ReportConverter {
|
||||||
static convertSuite(suites) {
|
static convertSuite(suites) {
|
||||||
if (Array.isArray(suites)) {
|
if (Array.isArray(suites)) {
|
||||||
const result = [];
|
const result = [];
|
||||||
suites.array.forEach(suite => {
|
suites.forEach(suite => {
|
||||||
result.concat(ReportConverter.convertSuite(suite));
|
result.concat(ReportConverter.convertSuite(suite));
|
||||||
});
|
});
|
||||||
return result;
|
return result;
|
||||||
|
|
@ -46,7 +46,7 @@ class ReportConverter {
|
||||||
static convertTests(suite, tests) {
|
static convertTests(suite, tests) {
|
||||||
if (Array.isArray(tests)) {
|
if (Array.isArray(tests)) {
|
||||||
const result = [];
|
const result = [];
|
||||||
tests.array.forEach(test => {
|
tests.forEach(test => {
|
||||||
result.concat(ReportConverter.convertTests(suite, test));
|
result.concat(ReportConverter.convertTests(suite, test));
|
||||||
});
|
});
|
||||||
return result;
|
return result;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue