Replies: 1 comment
-
|
Hi, @hzpz. Thanks for raising this. From what you've provided, it looks like a bug in MSW. Can you please create a minimal reproduction repo for this? Alternatively, you can open a pull request with a failing test, that would help fixing this even faster. 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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am trying to test code that polls the same URL with different search parameters. Following the documentation for polling I implemented the resolver as a generator function like this:
The first two requests, one with
tag=result:hitand the other withtag=result:misswork perfectly fine returning24.0and8.0. But after that, msw will only return values from the "misses" branch, even if the request was made withtag=result:hit. That is, the next values are8.0and then16.0.indefinitly, regardless of search parameters.What am I doing wrong?
Any help is much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions