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 9e21914 commit 666cb91Copy full SHA for 666cb91
lib/internal/test_runner/reporter/spec.js
@@ -52,9 +52,8 @@ class SpecReporter extends Transform {
52
ArrayPrototypePush(results, formattedErr);
53
}
54
55
- const output = ArrayPrototypeJoin(results, '\n');
56
this.#failedTests = []; // Clean up the failed tests
57
- return output;
+ return ArrayPrototypeJoin(results, '\n'); ;
58
59
#handleTestReportEvent(type, data) {
60
const subtest = ArrayPrototypeShift(this.#stack); // This is the matching `test:start` event
0 commit comments