From 3e872d6ec0cec1495f253e16b402f335ac5ec3e1 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 19 May 2018 07:24:01 -0400 Subject: [PATCH] add api to get contract sources --- src/app/tabs/test-tab.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index 904e9b1493..30395ac783 100644 --- a/src/app/tabs/test-tab.js +++ b/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) }