wrote tests that test the mock not the thing. 100% coverage. production broken. beautiful.
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.