linting fix

pull/1342/head^2
Admin 3 years ago committed by Aniket
parent aee7922e99
commit 2a85763e43
  1. 4
      apps/remix-ide/src/app/tabs/test-tab.js

@ -248,9 +248,9 @@ module.exports = class TestTab extends ViewPlugin {
testCallback (result, runningTests) { testCallback (result, runningTests) {
this.testsOutput.hidden = false this.testsOutput.hidden = false
let debugBtn = yo`` 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 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> <i class="fas fa-bug"></i>
</div>` </div>`
debugBtn.style.cursor = 'pointer' debugBtn.style.cursor = 'pointer'

Loading…
Cancel
Save