jefflau / jest-fetch-mock

Jest mock for fetch
MIT License
886 stars 117 forks source link

Adds mockJson function to easily mock Json Responses #39

Closed coolxeo closed 6 years ago

coolxeo commented 6 years ago

You can easily add a optional function mockJson to avoid using JSON.stringify

csi-lk commented 6 years ago

If i'm understanding correctly, this just a change to the readme.md to let the user know they can create a custom mockJson function?

Is this required?

jefflau commented 6 years ago

Closing this for now. If you want to reopen with some more information about what you want to add feel free.