grug / data-mocks

Library to mock local data requests using Fetch or XHR
MIT License
63 stars 12 forks source link

allow string response #41

Closed kieran-allen closed 4 years ago

kieran-allen commented 4 years ago

Currently the response type only expects object. this PR adds string as an acceptable response type.

grug commented 4 years ago

Perfect - let me review that today at some point and reply!

On Wed, 2 Oct 2019, 12:29 Kieran Allen, notifications@github.com wrote:

@mrkidsan https://github.com/mrkidsan requested your review on: #41 https://github.com/ovotech/data-mocks/pull/41 allow string response.

— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/ovotech/data-mocks/pull/41?email_source=notifications&email_token=AAPTKFSIFTQOVSXRY2ECV3DQMSAX7A5CNFSM4I4VC6BKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOT7ASNFI#event-2680235669, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPTKFT7KQR6CXH5ZTMYBM3QMSAX7ANCNFSM4I4VC6BA .