expectRoute(method, url);
Creates a new request expectation that compares only with the requested route.
Parameters
Param | Type | Details |
---|---|---|
method | string | HTTP method. |
url | string | HTTP url string that supports colon param matching. |
Returns
requestHandler |
Returns an object with |
Please login to continue.