From 2600fd00c64e0f5938a070c5500eec2e473dc9b0 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Fri, 15 Jan 2021 18:21:01 +0100 Subject: [PATCH] Fixed test-tab undefined error --- apps/remix-ide/src/app/tabs/test-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/tabs/test-tab.js b/apps/remix-ide/src/app/tabs/test-tab.js index 807e7b5c34..e1853ae500 100644 --- a/apps/remix-ide/src/app/tabs/test-tab.js +++ b/apps/remix-ide/src/app/tabs/test-tab.js @@ -52,7 +52,7 @@ module.exports = class TestTab extends ViewPlugin { listenToEvents () { this.filePanel.event.register('newTestFileCreated', file => { - var testList = this.view.querySelector("[class^='testList']") + var testList = this._view.el.querySelector("[class^='testList']") var test = this.createSingleTest(file) testList.appendChild(test) this.data.allTests.push(file)