Commit 57099bf9 authored by Admin's avatar Admin Committed by Aniket

pass web3 for call

parent 2a85763e
...@@ -262,6 +262,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com ...@@ -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 ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment