|
Hello, I have a react 17.x, redux application where I have used many times
In my component I have a list that its content is the above data but if I debug the testing console I get just the name of the list and its icon, not any data content populated. If I pass mock data also on redux store because the same data should populate redux store, the content will appear as expected with data populated but I intend to receive the mock data by msw. I have done this many times in the same app but in this use case I get nothing back from the mock response. |
Replies: 3 comments 2 replies
|
Are you sure that the server has started in your tests? Example. You can also running in debug mode to see if requests are being made. |
|
Hello @cmacdonnacha . Thanks for answering. Yes, I have started the server, I am pretty sure about that. So what I get from that is that the response is being resolved, however I don't receive its content on the testing console. |
|
I guess you are right. It is a bit difficult to share the component and the test code due to length and privacy. I wish I could do to get more help. |

Hello @cmacdonnacha . Thanks for answering. Yes, I have started the server, I am pretty sure about that.
Regarding the debug mode, thanks I did not know this feature, I tried it and I see the following logs: