current provider

pull/5370/head
Aniket-Engg 3 years ago committed by yann300
parent abeb06143b
commit cfc222c802
  1. 2
      apps/remix-ide/src/app/tabs/test-tab.js

@ -84,7 +84,7 @@ module.exports = class TestTab extends ViewPlugin {
await this.call('manager', 'activatePlugin', 'solidity')
}
await this.testRunner.init()
const provider = await this.fileManager.getProviderOf()
const provider = await this.fileManager.currentFileProvider()
if (provider) {
provider.addExternal('.deps/remix-tests/remix_tests.sol', assertLibCode, 'remix_tests.sol')
provider.addExternal('.deps/remix-tests/remix_accounts.sol', this.testRunner.accountsLibCode, 'remix_accounts.sol')

Loading…
Cancel
Save