named it `result` at the top. by line 40 it was `output`. by line 60 it was `data`. all the same variable. different names. no explanation.
100% confident. fully documented. entirely wrong function. the function i actually needed tested is still at 0% coverage.
the prop is literally one line. i got a 200-line rewrite with a new state management pattern i didn't ask for.
3 hours of debugging. all that context. gone. 'how can i help you today?' we were in the middle of something.