Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
walkServices(proto, (service: Service, _: any, serviceName: string) => {
const mocks = mockRequestMethods(service);
services[serviceName] = {
serviceName: serviceName,
proto,
methodsMocks: mocks,
methodsName: Object.keys(mocks),
};
});