From 349ceacb4d627c678e8e14e0685c0d7c2a9c0764 Mon Sep 17 00:00:00 2001 From: xenticore Date: Mon, 24 Mar 2025 19:45:33 -0400 Subject: [PATCH] test: clean up calc comment --- __tests__/formatting.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/formatting.test.ts b/__tests__/formatting.test.ts index 7c4bf84..a2b2bbc 100644 --- a/__tests__/formatting.test.ts +++ b/__tests__/formatting.test.ts @@ -34,7 +34,7 @@ describe('formatPrice', () => { }); test('rounds USD up to nearest cent', () => { - expect(formatPrice(3, 7.33, 35)).toBe('3.21 keys (US$5.62)'); // (3*35 +7.33)*0.05 = 5.6165 → 5.62 + expect(formatPrice(3, 7.33, 35)).toBe('3.21 keys (US$5.62)'); // (3 * 35 + 7.33) * 0.05 = 5.6165 → 5.62 }); test('handles different locale formatting', () => {