Last active
May 8, 2019 04:05
-
-
Save jzxhuang/f6592232695e6254b6e41471da19eafd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expectStringResponseMocked : Response String -> (Result x a -> msg) -> (Response String -> Result x a) -> Http.Expect msg | |
expectStringResponseMocked mockResponse toMsg transformer = | |
Http.expectStringResponse toMsg <| | |
\_ -> transformer mockResponse | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment