diff --git a/apps/remix-ide/src/app/tabs/test-tab.js b/apps/remix-ide/src/app/tabs/test-tab.js index 0ad7aac4ee..5b039dd288 100644 --- a/apps/remix-ide/src/app/tabs/test-tab.js +++ b/apps/remix-ide/src/app/tabs/test-tab.js @@ -48,6 +48,7 @@ module.exports = class TestTab extends ViewPlugin { appManager.event.on('activate', (name) => { if (name === 'solidity') this.updateRunAction() + console.log('solidity is activated') }) appManager.event.on('deactivate', (name) => { if (name === 'solidity') this.updateRunAction() @@ -79,6 +80,7 @@ module.exports = class TestTab extends ViewPlugin { if (!isSolidityActive) { await this.call('manager', 'activatePlugin', 'solidity') } + this.updateRunAction() } onDeactivation () { @@ -625,7 +627,7 @@ module.exports = class TestTab extends ViewPlugin { return this.generateFileActionElement } - async updateRunAction (currentFile) { + updateRunAction (currentFile) { const el = yo`