Monday, April 3, 2017

Resolving fetchMock issues when testing isomorphic-fetch [Reactjs]

Hi peeps,

This is a quickie, and the content is totally reactjs.
If you are using fetchMock to simulate your API requests and you happend to use isomorphic-fetch for better support of fetch in browsers, you might have noticed that how fetchMock doesn't work. The solution is that you have to change the isomorphic-fetch import as below

import fetch from isomorphic-fetch

should be changed to

import isomorphic-fetch

This is highlighted in the fetchMock documentation.


  1. I do believe all of the concepts you’ve introduced in your post. They’re very convincing and will definitely work. Nonetheless, the posts are too short for novices. May you please extend them a bit from subsequent time? Thank you for the post.
    Digital Marketing Company in Chennai
    SEO Company in Chennai

  2. Just read your website. Good one. I liked it. Keep going. you are a best writer your site is very useful and informative

    thanks for sharing!
    Eczema Treatment

  3. This information is impressive; I am inspired with your post writing style & how continuously you describe this topic.
    python training in


  4. It was very nice article and it is very useful to Manual Testing learners.We also provide Selenium Training software online training.

    Selenium Training in Chennai

  5. These ways are very simple and very much useful, as a beginner level these helped me a lot thanks fore sharing these kinds of useful and knowledgeable information.

    Cloud Computing Training in chennai

  6. Thank you for this great article which conveyed a good information..very informative & different one....
    I would like to share the information

    Python Training in Chennai

  7. Thank you for your sharing information..Its very interesting and useful.. awesome article
    Digital Marketing Company in Chennai

  8. I liked it. Keep going. you are a best writer your site is very useful and informative

    thank you sharing!!!

    java training in chennai.

  9. It is very useful. I like it. Thanks for posting this information.
    sap training in chennai

  10. hi thank you so much to tell us the most mattering much contents..... im gonna share this to my friends also......

    Transportation Consulting Chennai
    Office Interiors in Chennai
    Rainwater Harvesting Chennai

  11. This blog is having the general information.Got a creative work and this is very different one.We have to develop our creativity mind.This blog helps for this. Thank you for this blog.This is very interesting and useful.

    Selenium Training in Chennai

  12. This comment has been removed by the author.

  13. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.
    Well, got a good knowledge.

    Seo Company in India
    Digital Marketing company in India
    Digital Marketing company in Chennai