79509531

Date: 2025-03-14 15:39:27
Score: 1
Natty:
Report link

If you're like me the problem might be as simple as you're new to jest and are calling the function in the wrong spot....

Ex: It should be

expect(sum(1, 2)).toBe(3)

Not

expect(sum(1, 2).toBe(3))

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ty P