|
@ -2458,10 +2458,14 @@ function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.itera |
|
|
time: results.duration / 1000 || 0 |
|
|
time: results.duration / 1000 || 0 |
|
|
}, |
|
|
}, |
|
|
children: results.reduce(function (acc, r) { |
|
|
children: results.reduce(function (acc, r) { |
|
|
var content = r.status !== 'ok' && (r.status === 'skip' ? 'skipped' : { |
|
|
var reason = r.reason ? r.reason.stack || r.reason : ''; |
|
|
|
|
|
var content = r.status !== 'ok' && r.status === 'skip' ? { |
|
|
|
|
|
name: 'skipped', |
|
|
|
|
|
text: reason |
|
|
|
|
|
} : { |
|
|
name: 'failure', |
|
|
name: 'failure', |
|
|
text: r.reason ? r.reason && r.reason.stack : '' |
|
|
text: reason |
|
|
}); |
|
|
}; |
|
|
acc.push(_objectSpread({ |
|
|
acc.push(_objectSpread({ |
|
|
name: 'testcase', |
|
|
name: 'testcase', |
|
|
attrs: { |
|
|
attrs: { |
|
|