sukovanej / effect-http

Declarative HTTP API library for effect-ts
https://sukovanej.github.io/effect-http
MIT License
216 stars 16 forks source link

Generate a msw mock server for testing #581

Open jessekelly881 opened 1 month ago

jessekelly881 commented 1 month ago

It would be awesome for testing if effect-http could generate an msw server for testing purposes w/ fast-check arbitrary data. Or maybe just make it easier to create one yourself.

https://www.npmjs.com/package/msw

sukovanej commented 2 weeks ago

Hey, I don't know this one but it looks pretty cool 👍. As I don't have any experience with the lib and unfortunately I probably won't have a use-case for it myself right now, it would honestly take some time for me to get to it. That being said, if you have know the library and would be up for it, feel free to prepare a new package in this monorepo. We could expose it as a new effect-http-msw package. WDYT?