linting fix

pull/5370/head
Admin 3 years ago committed by Aniket
parent 026a3020d8
commit 216d836733
  1. 4
      apps/remix-ide/src/app/tabs/test-tab.js

@ -248,9 +248,9 @@ module.exports = class TestTab extends ViewPlugin {
testCallback (result, runningTests) {
this.testsOutput.hidden = false
let debugBtn = yo``
if((result.type === 'testPass' || result.type === 'testFailure') && result.debugTxHash) {
if ((result.type === 'testPass' || result.type === 'testFailure') && result.debugTxHash) {
const { web3, debugTxHash } = result
debugBtn = yo `<div class="btn border btn btn-sm ml-1" title="Start debugging" onclick=${() => this.startDebug(debugTxHash, web3)}>
debugBtn = yo`<div class="btn border btn btn-sm ml-1" title="Start debugging" onclick=${() => this.startDebug(debugTxHash, web3)}>
<i class="fas fa-bug"></i>
</div>`
debugBtn.style.cursor = 'pointer'

Loading…
Cancel
Save