Skip to content

Commit

Permalink
Update test suite name
Browse files Browse the repository at this point in the history
  • Loading branch information
mvirgil committed Jan 14, 2025
1 parent c4b19d1 commit 1be50a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/stringUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' });
Expand Down

0 comments on commit 1be50a5

Please sign in to comment.