@@ -2502,7 +2502,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
25022502 * @param {string } method HTTP method.
25032503 * @param {string|RegExp|function(string) } url HTTP url or function that receives a url
25042504 * and returns true if the url matches the current definition.
2505- * @param {(string|RegExp)= } data HTTP request body.
2505+ * @param {(string|RegExp|function(string))= } data HTTP request body or function that receives
2506+ * data string and returns true if the data is as expected.
25062507 * @param {(Object|function(Object))= } headers HTTP headers or function that receives http header
25072508 * object and returns true if the headers match the current definition.
25082509 * @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
@@ -2585,7 +2586,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
25852586 *
25862587 * @param {string|RegExp|function(string) } url HTTP url or function that receives a url
25872588 * and returns true if the url matches the current definition.
2588- * @param {(string|RegExp)= } data HTTP request body.
2589+ * @param {(string|RegExp|function(string))= } data HTTP request body or function that receives
2590+ * data string and returns true if the data is as expected.
25892591 * @param {(Object|function(Object))= } headers HTTP headers.
25902592 * @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
25912593 * {@link ngMock.$httpBackend $httpBackend mock}.
@@ -2603,7 +2605,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
26032605 *
26042606 * @param {string|RegExp|function(string) } url HTTP url or function that receives a url
26052607 * and returns true if the url matches the current definition.
2606- * @param {(string|RegExp)= } data HTTP request body.
2608+ * @param {(string|RegExp|function(string))= } data HTTP request body or function that receives
2609+ * data string and returns true if the data is as expected.
26072610 * @param {(Object|function(Object))= } headers HTTP headers.
26082611 * @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
26092612 * {@link ngMock.$httpBackend $httpBackend mock}.
@@ -2621,7 +2624,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
26212624 *
26222625 * @param {string|RegExp|function(string) } url HTTP url or function that receives a url
26232626 * and returns true if the url matches the current definition.
2624- * @param {(string|RegExp)= } data HTTP request body.
2627+ * @param {(string|RegExp|function(string))= } data HTTP request body or function that receives
2628+ * data string and returns true if the data is as expected.
26252629 * @param {(Object|function(Object))= } headers HTTP headers.
26262630 * @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
26272631 * {@link ngMock.$httpBackend $httpBackend mock}.
0 commit comments