@ -83,10 +83,10 @@ var runTestFiles = function (filepath, isDirectory, web3) {
console.log('')
errors.forEach((error, index) => {
console.log(" " + (index+1) + ") " + error.context + " " + error.value)
console.log(' ' + (index + 1) + ') ' + error.context + ' ' + error.value)
console.log(("\t error: " + error.errMsg).red);
});
console.log(('\t error: ' + error.errMsg).red)
})
next()
@ -68,10 +68,10 @@ function runTest (web3, testName, testObject, testCallback, resultsCallback) {
}
if (matchingEvents.length === 0) {
return next();
return next()
let result = matchingEvents[0];
let result = matchingEvents[0]
if (result[0]) {
testCallback({type: 'testPass', value: changeCase.sentenceCase(func.name), time: time, context: testName})