From 6b452bc9d80bcaec433496a397185086b75e0685 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 10 Apr 2019 11:33:53 +0200 Subject: [PATCH] fix test file generation && don't switch to a File upon workspace loads --- src/app/tabs/test-tab.js | 2 +- src/app/ui/landing-page/workspace.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index 97efc68c93..ae921aa6e3 100644 --- a/src/app/tabs/test-tab.js +++ b/src/app/tabs/test-tab.js @@ -173,7 +173,7 @@ module.exports = class TestTab extends ApiFactory {
For more details, see How to test smart contracts guide in our documentation. -
Generate test file
+
Generate test file
diff --git a/src/app/ui/landing-page/workspace.js b/src/app/ui/landing-page/workspace.js index ed8b3f2d57..b2b8044812 100644 --- a/src/app/ui/landing-page/workspace.js +++ b/src/app/ui/landing-page/workspace.js @@ -21,7 +21,6 @@ export const defaultWorkspaces = (appManager) => { appManager.ensureActivated('run') appManager.ensureActivated('solidityStaticAnalysis') appManager.ensureActivated('solidityUnitTesting') - globalRegistry.get('filemanager').api.switchFile() globalRegistry.get('verticalicon').api.select('solidity') }, () => {}), new Workspace( @@ -31,7 +30,6 @@ export const defaultWorkspaces = (appManager) => { () => { appManager.ensureActivated('vyper') appManager.ensureActivated('run') - globalRegistry.get('filemanager').api.switchFile() globalRegistry.get('verticalicon').api.select('vyper') }, () => {}), new Workspace('Debugger', 'Debug transactions with remix', false, () => {