Commit 2600fd00 authored by ioedeveloper's avatar ioedeveloper

Fixed test-tab undefined error

parent f3a07ddb
...@@ -52,7 +52,7 @@ module.exports = class TestTab extends ViewPlugin { ...@@ -52,7 +52,7 @@ module.exports = class TestTab extends ViewPlugin {
listenToEvents () { listenToEvents () {
this.filePanel.event.register('newTestFileCreated', file => { 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) var test = this.createSingleTest(file)
testList.appendChild(test) testList.appendChild(test)
this.data.allTests.push(file) this.data.allTests.push(file)
......
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