MSW (mock service worker) compatibility #1181
Unanswered
kieran-osgood
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
We use it in the gcloud module: There used to be an issue with an older version of msw not playing well with the Docker socket, but that was fixed a few months back. If you update msw/Testcontainers I reckon everything is working. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Wondering if anyone is using testcontainers with MSW?
I have been using testcontainers:node to run my db during tests, I added MSW to mock some external urls and have been running into some issues (only on github actions) where the container no longer finishes setting up due to its health checks failing
Using MSW 2.12.1
I'm hoping I just am not writing the handlers regex here but I've tried a number of variations
I've added unhandled bypass to the server start
I came to the above handlers from these logs which indicate they're trying to use localhost:5432
Beta Was this translation helpful? Give feedback.
All reactions