Mock Service Worker(MSW) is a powerful tool designed to intercept requests on the network level. MSW allow us to reuse the same mock definition for testing, development and debugging.
In this demo, we'll be configuring MSW to a Create React App testing environment and reusing the same network request mock definitions for testing and development.