-
-
Notifications
You must be signed in to change notification settings - Fork 579
Closed
Labels
bugSomething isn't workingSomething isn't workingscope:nodeRelated to MSW running in NodeRelated to MSW running in NodewontfixThis will not be worked onThis will not be worked on
Description
Prerequisites
- I confirm my issue is not in the opened issues
- I confirm the Frequently Asked Questions didn't contain the answer to my issue
Environment check
- I'm using the latest
mswversion - I'm using Node.js version 18 or higher
Node.js version
v20.18.0
Background
Thanks for this great library. We've been using it for some time now to mock response in the vscode-terraform test suite.
During some regular dependency bumps we noticed that the mocking didn't work anymore.
Reproduction repository
https://github.com/dbanck/playground-vscode-msw-bug
Reproduction steps
Current behavior
The request isn't intercepted anymore
The request isn't captured by any of the life-cycle events that log to the extension debug channel

Axios logs a 404 error, because the request isn't mocked and a real request is sent to https://example.com/test

Expected behavior
I have traced it back to this change: v2.4.3...v2.4.4
When I downgrade msw to 2.4.3 everything is working as expected.
jmccure and kettanaito
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingscope:nodeRelated to MSW running in NodeRelated to MSW running in NodewontfixThis will not be worked onThis will not be worked on


