expectJSONP(url, [keys]);
Creates a new request expectation for JSONP requests. For more info see expect()
.
Parameters
Param | Type | Details |
---|---|---|
url | string RegExp function(string) | HTTP url or function that receives an url and returns true if the url matches the current definition. |
keys (optional) | Array | Array of keys to assign to regex matches in request url described above. |
Returns
requestHandler |
Returns an object with |
Please login to continue.