Skip to content

Commit

Permalink
handling suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
uidoyen committed Jan 18, 2024
1 parent dc7f555 commit 6f47fda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/utilities/__tests__/number.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@ describe('bytesAsGB', () => {
it('should round to 2 decimal places when less than 0.1 GB', () => {
const result01GB = bytesAsGB(100 * 1024 * 1024);
expect(result01GB).toBe(0.1);

const result005GB = bytesAsGB(50 * 1024 * 1024);
expect(result005GB).toBe(0.05);
});
});

0 comments on commit 6f47fda

Please sign in to comment.