We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3353647 commit 4d29892Copy full SHA for 4d29892
lib/internal/test_runner/test.js
@@ -1353,7 +1353,7 @@ class Test extends AsyncResource {
1353
} else if (this.isTodo) {
1354
directive = this.reporter.getTodo(this.message);
1355
} else if (this.xfail) {
1356
- directive = this.reporter.getXFail(); // TODO(@JakobJingleheimer): support expected failure
+ directive = this.reporter.getXFail(this.xfail); // TODO(@JakobJingleheimer): support specifying failure
1357
}
1358
1359
if (this.reportedType) {
@@ -1368,6 +1368,7 @@ class Test extends AsyncResource {
1368
if (this.passedAttempt !== undefined) {
1369
details.passed_on_attempt = this.passedAttempt;
1370
1371
+
1372
return { __proto__: null, details, directive };
1373
1374
0 commit comments