Commit 3f4ae69f authored by Liana Husikyan's avatar Liana Husikyan Committed by Aniket

removed parentesis from test results

parent 0b10dfc7
......@@ -130,9 +130,9 @@ module.exports = class TestTab extends ViewPlugin {
if (result.type === 'contract') {
this.testsOutput.appendChild(yo`<div class=${css.outputTitle}>${result.filename} (${result.value})</div>`)
} else if (result.type === 'testPass') {
this.testsOutput.appendChild(yo`<div class="${css.testPass} ${css.testLog} alert-success">✓ (${result.value})</div>`)
this.testsOutput.appendChild(yo`<div class="${css.testPass} ${css.testLog} alert-success">✓ ${result.value}</div>`)
} else if (result.type === 'testFailure') {
this.testsOutput.appendChild(yo`<div class="${css.testFailure} ${css.testLog} alert-danger">✘ (${result.value})</div>`)
this.testsOutput.appendChild(yo`<div class="${css.testFailure} ${css.testLog} alert-danger">✘ ${result.value}</div>`)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment