Skip to content

Commit 969cf2e

Browse files
committed
cleanup
1 parent 1903bce commit 969cf2e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tests/run.mjs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ async function benchmarkResults(driver) {
121121

122122
class JetStreamTestError extends Error {
123123
constructor(errors) {
124-
super(`Tests failed: ${errors.map(e => e.name).join(", ")}`)
125-
this.errors = errors
124+
super(`Tests failed: ${errors.map(e => e.name).join(", ")}`);
125+
this.errors = errors;
126126
}
127127

128128
}
@@ -142,16 +142,15 @@ async function pollResultsUntilDone(driver, resolve, reject) {
142142
clearInterval(intervalId);
143143
reject(new JetStreamTestError(errors));
144144
}
145-
logIncrementalResult(previousResults, JSON.parse(resultsJSON))
145+
logIncrementalResult(previousResults, JSON.parse(resultsJSON));
146146
if (done) {
147147
clearInterval(intervalId);
148-
resolve()
148+
resolve();
149149
}
150150
}, UPDATE_INTERVAL)
151151
}
152152

153153
function logIncrementalResult(previousResults, benchmarkResults) {
154-
console.log(benchmarkResults)
155154
for (const [testName, testResults] of Object.entries(benchmarkResults)) {
156155
if (previousResults.has(testName))
157156
continue;

0 commit comments

Comments
 (0)