TLDR Web Dev · QUICK LINKS
DON'T MOCK YOUR FRAMEWORK: WRITING TESTS YOU WON'T REGRET
Summary from the TLDR Web Dev newsletter
Devs should avoid mocking framework dependencies directly and instead create thin adapters around libraries they control and use integration tests with real implementations.