add api to get contract sources

pull/1/head
Iuri Matias 7 years ago committed by yann300
parent 43ae6a2eb4
commit 3e872d6ec0
  1. 3
      src/app/tabs/test-tab.js

@ -5,8 +5,7 @@ var css = require('./styles/test-tab-styles')
var remixTests = require('remix-tests')
function runTests () {
// remixTests.runTest(testName, testObject, testCallback, resultsCallback)
let contractSources = api.compilerContracts.getSources()
let contractSources = window.api.getAllSources()
remixTests.runTestSources(contractSources)
}

Loading…
Cancel
Save