Printing a warning when multiple instances of MSW are running at the same time #2633
Unanswered
LeonGeldsch
asked this question in
Q&A
Replies: 0 comments
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.
-
I am using Playwright with MSW to test my application. I have also set up a script that starts my dev server with MSW running so that I can debug more easily. Now, I've have had it happen multiple times, that I forgot that my dev server was running in mocked mode and I subsequently spent way too much time debugging why my overwrites with
worker.use()are not working.Does anyone have an idea on how I could print a warning to the console if multiple MSW instances are running at the same time?
Beta Was this translation helpful? Give feedback.
All reactions