Remix.run Logo
throwanem 5 months ago

Where feasible, I like to start a suite with a unit test that validates the unit's intended side effects actually occur, as visible in their mocks being exercised.

pinoy420 5 months ago | parent [-]

I laughed. Thank you for that

throwanem 5 months ago | parent [-]

Sure. For Patreon subscribers at the $5/month tier and up, I also have a course on making integration ("e2e", "functional") tests more maintainable by eliminating side effects.