You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
Add a mockMatchingFunction method to the yesno class. This method will be passed a callback function that will be used to override the default internal matching function for matching requests with rules or the recorded mock array. The callback will be called with an object:
{
currentRequest, // object with the request being processed
recordedMocks, // array of recorded mocks
mockRules, // array of rules
maxMockCount // the maximum number of times a mock can be used (defaults to 1, 0 is unlimited)
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add a mockMatchingFunction method to the yesno class. This method will be passed a callback function that will be used to override the default internal matching function for matching requests with rules or the recorded mock array. The callback will be called with an object:
The text was updated successfully, but these errors were encountered: