Mocking redux and RTKQ #26504
Unanswered
S-Maitland
asked this question in
Help
Replies: 1 comment 1 reply
-
I am in the same boat, I am considering using MSW (Mock Service Worker) as recommended by the docs here: https://redux.js.org/usage/writing-tests#ui-and-network-testing-tools |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I have a story which is for a page. On this page there is a table that will be populated with data via an RTKQ. I don't need to simulate the calls however and I just want to be able to provide an array of fake objects to the story to populate the table. How do I go about this?
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions