Skip to content
Discussion options

You must be logged in to vote

Hey, @BWootBIJC.

The question is what part do you intend to mock. If you want to mock the communication between your React app and your .NET server, then MSW is absolutely your choice. It doesn't matter from the library's perspective in which language your actual backend is written, if at all. If you wish to mock some HTTP requests in your .NET backend, which is written in a language other than JavaScript, MSW cannot run there so that won't be your choice.

The mention of browser and Node.js in MSW means that the library can run in those two environments. Browser support covers anything you may run in the browser (your frontend app is a good example of that), and Node.js support means that…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BWootBIJC
Comment options

Answer selected by kettanaito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants