-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't seem to support HTTP mocking when using the HTTP builder library #5
Comments
actually in a simple test it does work - continuing to investigate. |
Ok well the problem seem to be that when a Cmd Msg is supplied to the initCmd the mocking works - but if supplying a Cmd Msg that is made via Http.send the mocks do not catch the request. |
Interesting. Can you provide a sample somewhere so I could check it out? |
We are working on a refactoring of the last pull request which will fix a few things
…Sent from my iPhone
On 8 Jun 2017, at 09:58, Szikszai Gusztáv ***@***.***> wrote:
Interesting. Can you provide a sample somewhere so I could check it out?
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ok so we fixed all the issues we encountered and now have something working that allows an init message to be set that will run on each test - either a HTTP request or any other Cmd message. So we will send another pull request today and you can ignore the previous pull request (#4) |
closing this now |
HTTP mocking doesn't seem to work with the http builder library - https://github.com/lukewestby/elm-http-builder
I'm investigating and if I fix it will submit a pull request. But if you can shed any light on the issue please let me know
The text was updated successfully, but these errors were encountered: