TLDR Web Dev · QUICK LINKS
INCREASE TEST FIDELITY BY AVOIDING MOCKS
Summary from the TLDR Web Dev newsletter
Use real dependencies or high-fidelity fakes when unit testing, as using mocks reduces test effectiveness by potentially masking discrepancies between test behavior and the actual production code.