Skip to content

Commit 1096c2f

Browse files
committed
🧹
1 parent 54c4b2d commit 1096c2f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

site/e2e/reporter.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,25 @@ class CoderReporter implements Reporter {
5151
for (const [target, chunk] of output) {
5252
target.write(`${chunk.replace(/\n$/g, "")}\n`);
5353
}
54-
testOutput.delete(test.id);
5554

5655
if (result.errors.length > 0) {
5756
// eslint-disable-next-line no-console -- Debugging output
5857
console.log("==> Errors");
5958
for (const error of result.errors) {
6059
if (error.location) {
60+
// eslint-disable-next-line no-console -- Debugging output
6161
console.log(`${error.location.file}:${error.location.line}:`);
6262
}
6363
if (error.snippet) {
64+
// eslint-disable-next-line no-console -- Debugging output
6465
console.log(error.snippet);
6566
}
6667

6768
if (error.message) {
69+
// eslint-disable-next-line no-console -- Debugging output
6870
console.log(error.message);
6971
} else {
72+
// eslint-disable-next-line no-console -- Debugging output
7073
console.log(error);
7174
}
7275
}
@@ -81,6 +84,7 @@ class CoderReporter implements Reporter {
8184
}
8285
}
8386
}
87+
testOutput.delete(test.id);
8488
await exportDebugPprof(test.title);
8589
}
8690

0 commit comments

Comments
 (0)