Commit c04b2275 authored by Liana Husikyan's avatar Liana Husikyan Committed by lianahus

Update test-tab.js

parent 39fd2565
...@@ -625,7 +625,7 @@ module.exports = class TestTab extends ViewPlugin { ...@@ -625,7 +625,7 @@ module.exports = class TestTab extends ViewPlugin {
return this.generateFileActionElement return this.generateFileActionElement
} }
async updateRunAction (currentFile) { updateRunAction (currentFile) {
const el = yo` const el = yo`
<button id="runTestsTabRunAction" title="Run tests" data-id="testTabRunTestsTabRunAction" class="w-50 btn btn-primary" onclick="${() => this.runTests()}"> <button id="runTestsTabRunAction" title="Run tests" data-id="testTabRunTestsTabRunAction" class="w-50 btn btn-primary" onclick="${() => this.runTests()}">
<span class="fas fa-play ml-2"></span> <span class="fas fa-play ml-2"></span>
...@@ -639,7 +639,7 @@ module.exports = class TestTab extends ViewPlugin { ...@@ -639,7 +639,7 @@ module.exports = class TestTab extends ViewPlugin {
el.setAttribute('title', 'No solidity file selected') el.setAttribute('title', 'No solidity file selected')
} else { } else {
el.setAttribute('title', 'The "Solidity Plugin" should be activated') el.setAttribute('title', 'The "Solidity Plugin" should be activated')
await this.call('manager', 'activatePlugin', 'solidity') this.call('manager', 'activatePlugin', 'solidity')
} }
} }
if (!this.runActionElement) { if (!this.runActionElement) {
......
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