Skip to content

Commit 4d29892

Browse files
fixup!: tidy todo comment
1 parent 3353647 commit 4d29892

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/test_runner/test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ class Test extends AsyncResource {
13531353
} else if (this.isTodo) {
13541354
directive = this.reporter.getTodo(this.message);
13551355
} else if (this.xfail) {
1356-
directive = this.reporter.getXFail(); // TODO(@JakobJingleheimer): support expected failure
1356+
directive = this.reporter.getXFail(this.xfail); // TODO(@JakobJingleheimer): support specifying failure
13571357
}
13581358

13591359
if (this.reportedType) {
@@ -1368,6 +1368,7 @@ class Test extends AsyncResource {
13681368
if (this.passedAttempt !== undefined) {
13691369
details.passed_on_attempt = this.passedAttempt;
13701370
}
1371+
13711372
return { __proto__: null, details, directive };
13721373
}
13731374

0 commit comments

Comments
 (0)