Mocking requests with MSW #2405
Unanswered
vitorcamachoo
asked this question in
Q&A
Replies: 1 comment
-
I found that copy pasting the internal implementation of one of the mock files, I finally got the project running with MSW interveltijg the stream requests. Also, I found that you already have a lot of factories/fixtures to mock most of the endpoint responses. It would be nice to turn those inplementeations public so the community can reused them for testing purposes. Is this something already discussed in the team? Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to know of it's possible to use MSW(mock service worker) as request interceptor to mock the requests that I do with the chat client.
I tried, but internally, it looks like that I need to connect the user and all that process, even if the request will be mocked.
Is there anyone that got this working with MSW?
Beta Was this translation helpful? Give feedback.
All reactions