Closed marcelijanowski closed 9 years ago
Hi @marcelijanowski . This is a known issue with this plugin. I have not been able to mock that interaction correctly, but I will continue to look into it.
I started looking at this because I need it. Would like really to help. So if I can become contributor to this project I probably would fix it. Also would like to talk with you about unit testing .
Hi @marcelijanowski . What is your question about unit testing?
I don't understand how you testing this because for me saying var expectations = [{"one":"mock-one"},{"two":"mock-two"} is little poor for tests. I was assuming that you going to use angular and your will return something not like .toContrain ?
Hi All, I have problem with using this node library. I seems like every stuff I mocked not going though angular interceptor so results on frontend are different then expected because they are not transform before and after going though interceptor.
So in my angular app I have this interceptor:
But when I mocking http backend not picking up this and on frontend I have wrong response