Amy Blankenship
Jun 20, 2022

I think both you and the original author arrived at unnecessarily complex solutions. In this case, I'm not sure TDD would help prevent it. Check to see if the 60th day of the year is February 29 or March 1. Boom.

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

Responses (1)