Seeking guidance on mocking HTTP requests in Effect Typescript testing
Struggling with how to test this.
I created a playground with everything, just confused on the proper way to "mock" i guess each http request?
https://effect.website/play/#cbdcfae9133e
since i need the first rquest which happens in the layer creation, then the service produces an api that has its own effects, i guess i'm messing up how to properly get this right?
I apologize for a decent chunk of code, don't expect anyone to do it for me just curious where i'm going astray, and how to properly approach effects/layers in testing like this
I created a playground with everything, just confused on the proper way to "mock" i guess each http request?
https://effect.website/play/#cbdcfae9133e
since i need the first rquest which happens in the layer creation, then the service produces an api that has its own effects, i guess i'm messing up how to properly get this right?
I apologize for a decent chunk of code, don't expect anyone to do it for me just curious where i'm going astray, and how to properly approach effects/layers in testing like this
