diff --git a/apps/remix-ide/src/app/tabs/test-tab.js b/apps/remix-ide/src/app/tabs/test-tab.js index 58a2c1039b..b325618465 100644 --- a/apps/remix-ide/src/app/tabs/test-tab.js +++ b/apps/remix-ide/src/app/tabs/test-tab.js @@ -130,7 +130,7 @@ module.exports = class TestTab extends ViewPlugin { await this.call('editor', 'discardHighlight') } - async highlightLocation (location, fileName) { + async highlightLocation (location, runningTest, fileName) { if (location) { var split = location.split(':') var file = split[2] @@ -141,14 +141,14 @@ module.exports = class TestTab extends ViewPlugin { location = this.offsetToLineColumnConverter.offsetToLineColumn( location, parseInt(file), - fileName + runningTest ) await this.call('editor', 'discardHighlight') await this.call('editor', 'highlight', location, fileName) } } - testCallback (result) { + testCallback (result, runningTest) { this.testsOutput.hidden = false if (result.type === 'contract') { this.testSuite = result.value @@ -182,7 +182,7 @@ module.exports = class TestTab extends ViewPlugin {