@@ -2527,7 +2527,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
2527
2527
* @param {string } method HTTP method.
2528
2528
* @param {string|RegExp|function(string)= } url HTTP url or function that receives a url
2529
2529
* and returns true if the url matches the current definition.
2530
- * @param {(string|RegExp)= } data HTTP request body.
2530
+ * @param {(string|RegExp|function(string))= } data HTTP request body or function that receives
2531
+ * data string and returns true if the data is as expected.
2531
2532
* @param {(Object|function(Object))= } headers HTTP headers or function that receives http header
2532
2533
* object and returns true if the headers match the current definition.
2533
2534
* @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
@@ -2610,7 +2611,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
2610
2611
*
2611
2612
* @param {string|RegExp|function(string)= } url HTTP url or function that receives a url
2612
2613
* and returns true if the url matches the current definition.
2613
- * @param {(string|RegExp)= } data HTTP request body.
2614
+ * @param {(string|RegExp|function(string))= } data HTTP request body or function that receives
2615
+ * data string and returns true if the data is as expected.
2614
2616
* @param {(Object|function(Object))= } headers HTTP headers.
2615
2617
* @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
2616
2618
* {@link ngMock.$httpBackend $httpBackend mock}.
@@ -2628,7 +2630,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
2628
2630
*
2629
2631
* @param {string|RegExp|function(string)= } url HTTP url or function that receives a url
2630
2632
* and returns true if the url matches the current definition.
2631
- * @param {(string|RegExp)= } data HTTP request body.
2633
+ * @param {(string|RegExp|function(string))= } data HTTP request body or function that receives
2634
+ * data string and returns true if the data is as expected.
2632
2635
* @param {(Object|function(Object))= } headers HTTP headers.
2633
2636
* @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
2634
2637
* {@link ngMock.$httpBackend $httpBackend mock}.
@@ -2646,7 +2649,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
2646
2649
*
2647
2650
* @param {string|RegExp|function(string)= } url HTTP url or function that receives a url
2648
2651
* and returns true if the url matches the current definition.
2649
- * @param {(string|RegExp)= } data HTTP request body.
2652
+ * @param {(string|RegExp|function(string))= } data HTTP request body or function that receives
2653
+ * data string and returns true if the data is as expected.
2650
2654
* @param {(Object|function(Object))= } headers HTTP headers.
2651
2655
* @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
2652
2656
* {@link ngMock.$httpBackend $httpBackend mock}.
0 commit comments