Angular resolvers are too fast for msw? #2548
Unanswered
Earthwing03
asked this question in
Q&A
Replies: 1 comment
|
Hi.
This is the issue that needs solving. Please take a look at the Angular example and see if it differs from what you have. There's nothing in MSW itself to take long time initializing. If you have a minimal reproduction repo, I can take a look at what's going on. If not, at least provide as much context as you can:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey there,
I am currently facing the problem that the startup of msw takes too much time. My Angular resolvers send requests before the workers are fully activated. This leads to a Network Error because obviously there is no backend on the mocked url yet. This can be seen in the Browsers console. The log of msw comes after the Network Error.
I have seen that there already was a similiar discussion but the given solutions did not help. Does anybody have an idea how to solve this problem?
All reactions