Skip to content

Commit

Permalink
fix: revert unintended changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowusr committed Dec 20, 2023
1 parent bbe2428 commit d0b04cb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions hermione.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ async function handleTestResults(hermione: Hermione, reportBuilder: StaticReport
const formattedResult = formatTestResult(testResult, status, UNKNOWN_ATTEMPT);

await reportBuilder.addTestResult(formattedResult);
}).catch((e) => {
reject(e);
}));
}).catch(reject));
});

hermione.on(hermione.events.TEST_FAIL, testResult => {
Expand All @@ -130,9 +128,7 @@ async function handleTestResults(hermione: Hermione, reportBuilder: StaticReport
const formattedResult = formatTestResult(testResult, status, UNKNOWN_ATTEMPT);

await reportBuilder.addTestResult(formattedResult);
}).catch((e) => {
reject(e);
}));
}).catch(reject));
});

hermione.on(hermione.events.TEST_PENDING, testResult => {
Expand Down

0 comments on commit d0b04cb

Please sign in to comment.