What I really hate about testing mocks is you're just testing mocks, eventually your entire suite is just testing one big abstraction effectively designed to pass.
I've always preferred unit tests for core logic and "full system" E2E tests using "real" infrastructure as much as possible, especially via Puppeteer and these days Playwright, then you can safely be as ambitious as you want anywhere in the software.
I've always preferred unit tests for core logic and "full system" E2E tests using "real" infrastructure as much as possible, especially via Puppeteer and these days Playwright, then you can safely be as ambitious as you want anywhere in the software.