Add createCheck to display test results in GitHub UI

pull/97/head
David Finol 2021-02-21 21:58:07 -06:00
parent 68336896a2
commit 910354f331
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -24,13 +24,13 @@ class ResultsCheck {
// Prepare run summary
const runSummary = new RunMeta('Test Results');
runs.array.forEach(suite => {
runs.forEach(suite => {
runSummary.total += suite.total;
runSummary.passed += suite.passed;
runSummary.skipped += suite.skipped;
runSummary.failed += suite.failed;
runSummary.duration += suite.duration;
suite.suites.array.forEach(s => {
suite.suites.forEach(s => {
runSummary.addTests(s.tests);
});
});