Update test-tab.js

pull/1/head
yann300 6 years ago committed by GitHub
parent 19e62c9f19
commit 45ca32e2f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/app/tabs/test-tab.js

@ -46,6 +46,10 @@ module.exports = class TestTab {
var updateFinalResult = function (_err, result, filename) {
testsSummary.hidden = false
if (_err) {
testsSummary.appendChild(yo`<div class=${css.testFailureSummary} >${_err.message}</div>`)
return
}
testsSummary.appendChild(yo`<div class=${css.summaryTitle}> ${filename} </div>`)
if (result.totalPassing > 0) {
testsSummary.appendChild(yo`<div>${result.totalPassing} passing (${result.totalTime}s)</div>`)

Loading…
Cancel
Save