Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pepoviola committed Jan 21, 2025
1 parent 45a3b81 commit 5ed20da
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions javascript/packages/utils/src/zombieMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ export async function registerSpawnElapsedTimeSecs(elapsed: number) {
}
}

export async function registerTotalElapsedTimeSecs(elapsed: number, success: boolean) {
export async function registerTotalElapsedTimeSecs(
elapsed: number,
success: boolean,
) {
if (canSend()) {
let status = success ? 'pass' : 'fail';
const status = success ? "pass" : "fail";
const [jobId, jobName, projectName, pushGatewayUrl] = getFromCI();
const metricName = "zombie_test_complete_secs";
const help = `# HELP ${metricName} Elapsed time to complete the test job in seconds (including spawning, but not teardown)`;
Expand Down

0 comments on commit 5ed20da

Please sign in to comment.