Replies: 2 comments 16 replies
-
@dargue3 Is this the same with a |
Beta Was this translation helpful? Give feedback.
16 replies
-
There has been a memory leak issue reported and fixed in the latest release (0.29.0). There's a serious change it might have caused this behavior. It's highly recommended to update to the latest version. |
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
-
Hey! I'm sure this is going to be difficult for anyone to debug without a repro, but just taking a shot in the dark.
My jest tests are running SUPER slow and when I use
console.time()
to see how long it's taking for MSW to return some mocked responses, I'm seeing upwards of 3 seconds on a few of the graphql queries for the MSW resolver to even be called, and then another 3 for the response to return back to the caller. When I perform the same action in the browser — 50ms.I'm assuming MSW can only respond as fast as the CPU has time for, which leads me to believe that maybe Jest is just hogging resources so much MSW can't even find a spare tick to do its response?
Beta Was this translation helpful? Give feedback.
All reactions