diff --git a/reporter/linereporter.js b/reporter/linereporter.js index 6895635..86bf585 100644 --- a/reporter/linereporter.js +++ b/reporter/linereporter.js @@ -15,7 +15,7 @@ const linereporter = () => { fail: (test, e) => { const line = e.stack.match(/at.*:(.*):/)[1] lines.push(line) - log(chalk.redBright('✗'), line, test.name) + log(chalk.redBright('✗'), test.name, `(line ${line})`) }, end: (stats) => { const { success, fail, testFail } = stats