A fantastic talk! Thank you so much for showcasing GraphQL Testing Library, Alessia! > Does MSW support fetch as well as ClientRequest? Yes. MSW comes with full support for fetch in Node.js (Undici). Same handlers, different underlying protocols (you don't care about those). One limitation being is that fetch has to be global (it actually doesn't matter where it comes from, whether it's Undici or node fetch; we draw the line at the Fetch API spec itself).
A fantastic talk! Thank you so much for showcasing GraphQL Testing Library, Alessia!
> Does MSW support fetch as well as ClientRequest?
Yes. MSW comes with full support for fetch in Node.js (Undici). Same handlers, different underlying protocols (you don't care about those). One limitation being is that fetch has to be global (it actually doesn't matter where it comes from, whether it's Undici or node fetch; we draw the line at the Fetch API spec itself).
Thank you, great talk and work