Mock Service Worker(MSW) is an API mocking library that allows you to write client-agnostic mocks and reuse them across any frameworks, tools, and environments.
In this TKYT session, the creator of MSW shows how he uses it in a Remix project. We also talked about why you should not patch fetch and some other testing wisdom was shared.
LINKS 🔗
MSW
https://mswjs.io
Egghead course on MSW
https://egghead.io/courses/mock-rest-...
The True Purpose of Testing
https://www.epicweb.dev/the-true-purp...
STAY IN TOUCH 👋
Follow me on Twitter 🐦 - / dominus_kelvin
Subscribe to my newsletter 📧 - https://newsletter.dominuskelvin.dev
QUESTIONS...?
Join the Discord Server 💬 - https://sailscasts.com/community
Learn Web Development 📖 - https://sailscasts.com/courses
The Boring JavaScript Stack 🥱 - https://sailscasts.com/boring
Ship less JavaScript™️ consultation - https://shiplessjavascript.com
#javascript #remix #msw #apimocking #webdevelopment #coding #programming #vim #vscode #softwareengineering #codinglife #webdesign #webdevelopment #webdev #javascript #programmerhumor #codinghumor #software #softwareengineer #softwaredeveloper #softwaredevelopment