Replies: 1 comment
|
Hi, @abelta. As I recall, you need to set No other special configuration should be necessary. Then, you integrate MSW in your React application as you normally do, following the Browser integration guidelines. |
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.
Does MSW work at all with Electron? Anybody has a recent tutorial?
I'm starting a Forge + Electron + React project and I'm going through hoops and loops trying to figure out why it doesn't work because the usual type of configuration doesn't work without heavy tweaking.
All of these changes I've found scattered all through the Internet but there doesn't seem to be a full fledged tutorial and I feel like I'm closer every time but so far I haven't been able to mock a single call. They are either caught by the CPS or they fail in the service worker.
I wouldn't be surprised if MSW was outright incompatible with Electron but even that would be nice to know.
All reactions