Fixed test-tab undefined error

pull/668/head
ioedeveloper 4 years ago
parent f3a07ddb62
commit 2600fd00c6
  1. 2
      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)

Loading…
Cancel
Save