Closed carrascoacd closed 7 months ago
Using global mocks is not encouraged but, otherwise, is hard to mock clients that use the timeout middleware. Former issue.
This change tries to find the parent with the mocked fun if exists to avoid this from happening.
cc/ @yordis @teamon 😀
Context
Using global mocks is not encouraged but, otherwise, is hard to mock clients that use the timeout middleware. Former issue.
Solution
This change tries to find the parent with the mocked fun if exists to avoid this from happening.
cc/ @yordis @teamon 😀