Mocking gRPC-web responses
When creating integration tests, it is beneficial to mock API calls at the network level rather than mocking parts of your application that perform the API calls. Many testing libraries provide this functionality for JSON APIs, but it is slightly more difficult for gRPC-web requests. Let's have a look how it's done!
5 comments • testinggrpctypescript