Closed kettanaito closed 4 years ago
I've tried to put up the first difference I spotted when reading the docs. I have not actually used Service Mocker, so my conclusion may be incomplete or irrelevant. I'll try to use that library and update this comparison with more objective points.
I've performed a comparison between the two solutions and will publish it as a part of updated website and docs. Closing this to prevent confusion.
There is a Service Mocker library that also utilizes Service Workers for the purpose of API mocking. I'd like to introduce a comparison section to the MSW documentation that highlights the difference between two libraries, helping developers to choose what suits them best.
Comparison
Setup
client
andserver
parts.client
part.Service-Worker-Allowed
header to register a worker on a path different than root.Workflow
ctx
utilities for more efficient mocking.Internals
MSW