From ee6ef75765db6bf6bde7ac00d5761f3372bc32f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Matte?= Date: Mon, 2 Jun 2025 18:59:06 -0400 Subject: [PATCH] Reverse test name and the line --- reporter/linereporter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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