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') var remixTests = require('remix-tests')
function runTests () { function runTests () {
// remixTests.runTest(testName, testObject, testCallback, resultsCallback) let contractSources = window.api.getAllSources()
let contractSources = api.compilerContracts.getSources()
remixTests.runTestSources(contractSources) remixTests.runTestSources(contractSources)
} }

Loading…
Cancel
Save