comply with linter

pull/7/head
Iuri Matias 7 years ago
parent 89208da930
commit e7aec5def7
  1. 6
      index.js
  2. 4
      src/testRunner.js

@ -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('')
console.log(("\t error: " + error.errMsg).red);
});
console.log(('\t error: ' + error.errMsg).red)
})
console.log('')
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})

Loading…
Cancel
Save