time calculation for tests improved

yann300-patch-5
aniket-engg 4 years ago committed by Aniket
parent 8ac5671145
commit a0ef22169f
  1. 4
      libs/remix-tests/src/testRunner.ts

@ -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()
})
}

Loading…
Cancel
Save