Skip to content

Commit

Permalink
test: Fix trailing commas in Deno test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPhamous committed Feb 17, 2025
1 parent a560589 commit f0ed8aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/orders/__tests__/OrderDisplay.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Deno.test(
const result = orderDetails(zeroOrder);
const expectedPricePerGPUHour = 100 / (1 * 1 * GPUS_PER_NODE);
assertEquals(result.pricePerGPUHour, expectedPricePerGPUHour);
}
},
);

Deno.test(
Expand All @@ -57,15 +57,15 @@ Deno.test(
const result = orderDetails(executedOrder);
const expectedExecutedPrice = 80 / (1 * 1 * GPUS_PER_NODE);
assertEquals(result.executedPriceDollarsPerGPUHour, expectedExecutedPrice);
}
},
);

Deno.test(
"orderDetails - returns undefined for executedPriceDollarsPerGPUHour when no execution price",
() => {
const result = orderDetails(baseOrder);
assertEquals(result.executedPriceDollarsPerGPUHour, undefined);
}
},
);

Deno.test("orderDetails - formats duration correctly", () => {
Expand Down

0 comments on commit f0ed8aa

Please sign in to comment.