diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index 4b49e967a8..84b535bb16 100644 --- a/src/app/tabs/test-tab.js +++ b/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`
${_err.message}
`) + return + } testsSummary.appendChild(yo`
${filename}
`) if (result.totalPassing > 0) { testsSummary.appendChild(yo`
${result.totalPassing} passing (${result.totalTime}s)
`)