katemerle89.bsky.social
@katemerle89.bsky.social
Reposted
... and it screwed me again. I told it not to mock the functions I wanted to test ...

So it copied the function code I wanted to test into the mock, and used a flag to decide whether to execute the copied code or return a mocked value...

so absolutely not testing the code that will run in prod
January 15, 2026 at 3:37 PM