From 91665f46f4998c2905b898700f599771c63670b5 Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Tue, 3 Sep 2024 20:27:28 +0200 Subject: [PATCH] test: output test name --- packages/bson-bench/src/suite.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bson-bench/src/suite.ts b/packages/bson-bench/src/suite.ts index 08901119..639f7006 100644 --- a/packages/bson-bench/src/suite.ts +++ b/packages/bson-bench/src/suite.ts @@ -43,10 +43,10 @@ export class Suite { (e: Error) => e ); if (result instanceof Error) { - console.log(`\t${task.taskName} ✗`); + console.log(`\t${task.testName} ✗`); this._errors.push({ task, error: result }); } else { - console.log(`\t${task.taskName} ✓`); + console.log(`\t${task.testName} ✓`); this._results.push(result); } }