Indent yo markup

pull/1/head
ioedeveloper 5 years ago committed by Liana Husikyan
parent 25a0262cf6
commit 6593d76d0f
  1. 10
      src/app/tabs/test-tab.js

@ -172,8 +172,8 @@ module.exports = class TestTab extends ViewPlugin {
if (status) { if (status) {
const label = yo` const label = yo`
<div <div
class="alert-success d-inline-block mb-1 mr-1 p-1 passed_${this.runningTestFileName}" class="alert-success d-inline-block mb-1 mr-1 p-1 passed_${this.runningTestFileName}"
title="All contract tests passed"> title="All contract tests passed">
PASS PASS
</div> </div>
` `
@ -186,8 +186,8 @@ module.exports = class TestTab extends ViewPlugin {
} else { } else {
const label = yo` const label = yo`
<div <div
class="alert-danger d-inline-block mb-1 mr-1 p-1 failed_${this.runningTestFileName}" class="alert-danger d-inline-block mb-1 mr-1 p-1 failed_${this.runningTestFileName}"
title="At least one contract test failed"> title="At least one contract test failed">
FAIL FAIL
</div> </div>
` `
@ -228,7 +228,7 @@ module.exports = class TestTab extends ViewPlugin {
} else if (result.totalPassing > 0 && result.totalFailing <= 0) { } else if (result.totalPassing > 0 && result.totalFailing <= 0) {
this.testsOutput.appendChild(yo` this.testsOutput.appendChild(yo`
<div class="text-success"> <div class="text-success">
${result.totalPassing} passing (${result.totalTime}s) ${result.totalPassing} passing (${result.totalTime}s)
</div> </div>
`) `)
} else if (result.totalPassing <= 0 && result.totalFailing > 0) { } else if (result.totalPassing <= 0 && result.totalFailing > 0) {

Loading…
Cancel
Save