From 1be50a5c2cc1cf0c78a0a2b63e348433dfd6e0e8 Mon Sep 17 00:00:00 2001 From: Max Virgil Date: Mon, 13 Jan 2025 17:19:24 -0800 Subject: [PATCH] Update test suite name --- test/utils/stringUtils.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils/stringUtils.test.ts b/test/utils/stringUtils.test.ts index d6df006..139e7bc 100644 --- a/test/utils/stringUtils.test.ts +++ b/test/utils/stringUtils.test.ts @@ -16,7 +16,7 @@ import { formatUploadProgress } from '../../src/utils/stringUtils'; -describe('formatProgress', () => { +describe('formatUploadProgress', () => { it('should format both numbers using the same unit (either B, KB, or MB)', () => { expect(formatUploadProgress(100, 2_500_000)).toEqual({ loadedFormatted: '0.0MB', totalFormatted: '2.5MB' }); expect(formatUploadProgress(100_000, 2_500_000)).toEqual({ loadedFormatted: '0.1MB', totalFormatted: '2.5MB' });