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
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
Claude: no problem! Here you go
... All tests pass first time ...
Me: checks that actual test code, realizes Claude has created a mock that always returns a valid response for the exact functions I wanted to test
🤦🏻♂️🤦🏻♂️🤦🏻♂️🤦🏻♂️🤦🏻♂️
Claude: no problem! Here you go
... All tests pass first time ...
Me: checks that actual test code, realizes Claude has created a mock that always returns a valid response for the exact functions I wanted to test
🤦🏻♂️🤦🏻♂️🤦🏻♂️🤦🏻♂️🤦🏻♂️
#ElonIsVile
krebsonsecurity.com/2025/02/teen...
#ElonIsVile
krebsonsecurity.com/2025/02/teen...
Nearly DOUBLED the CalFIRE budget: $2 billion to $3.8 billion.
The number of CalFIRE personnel has nearly DOUBLED: 5,829 to 10,741.