diff --git a/src/app/files/file-explorer.js b/src/app/files/file-explorer.js index 9a74ffee0d..4e69f490c7 100644 --- a/src/app/files/file-explorer.js +++ b/src/app/files/file-explorer.js @@ -599,7 +599,7 @@ fileExplorer.prototype.createNewFile = function (parentFolder = 'browser') { } else { self._deps.fileManager.switchFile(newName) if (newName.includes('_test.sol')) { - self.event.trigger('newTestFileCreated', [newName]) + self.events.trigger('newTestFileCreated', [newName]) } } })