Skip to content

Commit

Permalink
test: output test name
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Sep 3, 2024
1 parent b1173f4 commit 91665f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bson-bench/src/suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 91665f4

Please sign in to comment.