Skip to content

Commit 90fad78

Browse files
committed
Refactor: Make tests more readable
Write the license amount with numbers instead of letters
1 parent e6f4850 commit 90fad78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exercises/tiered_pricing/solutions/xetxeberria-ts/tests/tieredPricing.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ describe("TieredPricing should", () => {
55
expect(tieredPricing(1)).toBe(299);
66
});
77

8-
test("return 598 for two licenses", async () => {
8+
test("return 598 for 2 licenses", async () => {
99
expect(tieredPricing(2)).toBe(598);
1010
});
1111

12-
test("return 717 for three licenses", async () => {
12+
test("return 717 for 3 licenses", async () => {
1313
expect(tieredPricing(3)).toBe(717);
1414
});
1515

16-
test("return 2409 for eleven licenses", async () => {
16+
test("return 2409 for 11 licenses", async () => {
1717
expect(tieredPricing(11)).toBe(2409);
1818
});
1919

20-
test("return 5373 for twenty seven licenses", async () => {
20+
test("return 5373 for 27 licenses", async () => {
2121
expect(tieredPricing(27)).toBe(5373);
2222
});
2323
});

0 commit comments

Comments
 (0)