Add createCheck to display test results in GitHub UI
parent
68336896a2
commit
910354f331
File diff suppressed because one or more lines are too long
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue