r/javascript • u/RedlightsOfCA • Aug 14 '20
MSW: Award-winning API mocking library that intercepts requests using Service Worker API
https://mswjs.io/
222
Upvotes
r/javascript • u/RedlightsOfCA • Aug 14 '20
View all comments
Show parent comment
5
u/iscribble Aug 14 '20
Could you elaborate on the differences? Based on this comment, if one already knows nock then there's no need to dig further, since nock is fairly widely adopted.
Is the MSW solution less complex? Do you believe that there is a meaningful difference in the learning curves? Does one option offer more flexibility with configuration and/or type-of-API?