indexworkspace2
bunsenstraat 3 years ago
parent 7cc349b68c
commit c1c76dca7c
  1. 11
      apps/remix-ide-e2e/src/local-plugin/src/app/Client.ts

@ -326,10 +326,9 @@ export class WorkSpacePlugin extends PluginClient {
} }
} }
async switchfile(dir: string) { async switchfile (dir: string) {
try { try {
const files = await this.call('fileManager', 'switchFile', dir) await this.call('fileManager', 'switchFile', dir)
} catch (e) { } catch (e) {
this.setFeedback(e.message) this.setFeedback(e.message)
} }
@ -380,7 +379,7 @@ export class WorkSpacePlugin extends PluginClient {
async createWorkSpace (name: string) { async createWorkSpace (name: string) {
try { try {
const s = await this.call('filePanel', 'createWorkspace', name) await this.call('filePanel', 'createWorkspace', name)
} catch (e) { } catch (e) {
this.setFeedback(e.message) this.setFeedback(e.message)
} }
@ -523,9 +522,9 @@ export class WorkSpacePlugin extends PluginClient {
} }
} }
` `
//await this.call('fileManager', 'setFile', '/modifyVariable.sol', f) // await this.call('fileManager', 'setFile', '/modifyVariable.sol', f)
await this.call('fileManager', 'switchFile', 'tests/4_Ballot_test.sol') await this.call('fileManager', 'switchFile', 'tests/4_Ballot_test.sol')
//await this.call('fileManager', 'setFile', '/modifyVariable_test.sol', t) // await this.call('fileManager', 'setFile', '/modifyVariable_test.sol', t)
const result = await this.call( const result = await this.call(
'solidityUnitTesting', 'solidityUnitTesting',
'testFromPath', 'testFromPath',

Loading…
Cancel
Save