View Code? Open in Web Editor
NEW
Mock http requests and responses using fetch API (or isomorphic-fetch). Straight forward functions makes it simple to create customizable and legible unit tests.
License: Other
mock-fetch-api's People
Contributors
Watchers
mock-fetch-api's Issues
Hello, I really like the simplicity of this library but it does have a few issues, such as:
Inability to run unit tests after a git clone due to no test libs in package.json
unnecessary function wrapper (function(global) {
Are you still maintaining it?
Thanks.
Hi Larney,
Even with this npm package i still get the below response while doing an alert.
Object{data: [Object{text: ...}, Object{text: ...}]}
I am lookign for a proper JSON response that i can pass as a parameter to my strongly typed function for unit testing.
I have traversed the internet and also tried posting on stackoverflow with little luck.
Request your assistance on the same.
Cheers,
Guru