|
|
@ -171,7 +171,9 @@ module.exports = class TestTab extends ViewPlugin { |
|
|
|
setHeader (status) { |
|
|
|
setHeader (status) { |
|
|
|
if (status) { |
|
|
|
if (status) { |
|
|
|
const label = yo` |
|
|
|
const label = yo` |
|
|
|
<div class="alert-success d-inline-block mb-1 mr-1 p-1 passed_${this.runningTestFileName}"> |
|
|
|
<div |
|
|
|
|
|
|
|
class="alert-success d-inline-block mb-1 mr-1 p-1 passed_${this.runningTestFileName}" |
|
|
|
|
|
|
|
title="All contract tests passed"> |
|
|
|
PASS |
|
|
|
PASS |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
` |
|
|
|
` |
|
|
@ -183,7 +185,9 @@ module.exports = class TestTab extends ViewPlugin { |
|
|
|
`)
|
|
|
|
`)
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
const label = yo` |
|
|
|
const label = yo` |
|
|
|
<div class="alert-danger d-inline-block mb-1 mr-1 p-1 failed_${this.runningTestFileName}"> |
|
|
|
<div |
|
|
|
|
|
|
|
class="alert-danger d-inline-block mb-1 mr-1 p-1 failed_${this.runningTestFileName}" |
|
|
|
|
|
|
|
title="At least one contract test failed"> |
|
|
|
FAIL |
|
|
|
FAIL |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
` |
|
|
|
` |
|
|
|