fixes test import

pull/1/head
Liana Husikyan 5 years ago committed by GitHub
parent f5766e306e
commit 742e739432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/tabs/compileTab/compileTab.js

@ -100,7 +100,7 @@ class CompileTab {
} }
importFileCb (url, filecb) { importFileCb (url, filecb) {
if (url.indexOf('/remix_tests.sol') !== -1) return filecb(null, remixTests.assertLibCode) if (url.indexOf('remix_tests.sol') !== -1) return filecb(null, remixTests.assertLibCode)
var provider = this.fileManager.fileProviderOf(url) var provider = this.fileManager.fileProviderOf(url)
if (provider) { if (provider) {

Loading…
Cancel
Save