Closed danicuki closed 3 years ago
I don't think bypass does anything magical, so you still have to set your host on the client to the bypass listener: host = "http://localhost:#{bypass.port}"
@wkirschbaum is right, basically you need to instruct Finch to use another URL for testing. I also build an example app here: https://github.com/ream88/bypass-issue116
My project uses Finch to make parallel HTTP requests.
I tried to add bypass to my tests, but the HTTP requests are not being detected. When I run the test, I get this error:
No HTTP request arrived at Bypass
Here is my test:
Here is my MyClient module: