Commit a0ef2216 authored by aniket-engg's avatar aniket-engg Committed by Aniket

time calculation for tests improved

parent 8ac56711
......@@ -215,6 +215,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com
}
testCallback(undefined, resp)
failureNum += 1
timePassed += time
}
next()
})
......@@ -253,6 +254,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com
};
testCallback(undefined, resp)
failureNum += 1
timePassed += time
return next()
}
testPassed = true
......@@ -268,6 +270,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com
}
testCallback(undefined, resp)
passingNum += 1
timePassed += time
}
return next()
......@@ -286,6 +289,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com
};
testCallback(undefined, resp)
failureNum += 1
timePassed += time
return next()
})
}
......
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