pass web3 for call

pull/1342/head^2
Admin 3 years ago committed by Aniket
parent 2a85763e43
commit 57099bf9af
  1. 2
      libs/remix-tests/src/testRunner.ts

@ -262,6 +262,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com
filename: testObject.filename, filename: testObject.filename,
time: time, time: time,
context: testName, context: testName,
web3,
debugTxHash debugTxHash
} }
if (hhLogs && hhLogs.length) resp.hhLogs = hhLogs if (hhLogs && hhLogs.length) resp.hhLogs = hhLogs
@ -276,6 +277,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com
time: time, time: time,
errMsg: 'function returned false', errMsg: 'function returned false',
context: testName, context: testName,
web3,
debugTxHash debugTxHash
} }
if (hhLogs && hhLogs.length) resp.hhLogs = hhLogs if (hhLogs && hhLogs.length) resp.hhLogs = hhLogs

Loading…
Cancel
Save