Indent yo markup

pull/5370/head
ioedeveloper 5 years ago committed by Liana Husikyan
parent b014d32f4e
commit d245cd48d0
  1. 10
      src/app/tabs/test-tab.js

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

Loading…
Cancel
Save