diff --git a/frontend/src/lib/__tests__/utils.spec.ts b/frontend/src/lib/__tests__/utils.spec.ts index 7967f497..548f576b 100644 --- a/frontend/src/lib/__tests__/utils.spec.ts +++ b/frontend/src/lib/__tests__/utils.spec.ts @@ -25,12 +25,12 @@ describe.concurrent('roundIt method', () => { it('should handle zero value', () => { const result = roundIt(0) - expect(result).toBe("NaN") + expect(result).toBe("0") }) it('should handle NaN value', () => { const result = roundIt(NaN) - expect(result).toBe("NaN") + expect(result).toBe("0") }) it('should add label to title if provided', () => {