@@ -2502,7 +2502,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
2502
2502
* @param {string } method HTTP method.
2503
2503
* @param {string|RegExp|function(string) } url HTTP url or function that receives a url
2504
2504
* 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.
2506
2507
* @param {(Object|function(Object))= } headers HTTP headers or function that receives http header
2507
2508
* object and returns true if the headers match the current definition.
2508
2509
* @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) {
2585
2586
*
2586
2587
* @param {string|RegExp|function(string) } url HTTP url or function that receives a url
2587
2588
* 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.
2589
2591
* @param {(Object|function(Object))= } headers HTTP headers.
2590
2592
* @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
2591
2593
* {@link ngMock.$httpBackend $httpBackend mock}.
@@ -2603,7 +2605,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
2603
2605
*
2604
2606
* @param {string|RegExp|function(string) } url HTTP url or function that receives a url
2605
2607
* 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.
2607
2610
* @param {(Object|function(Object))= } headers HTTP headers.
2608
2611
* @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
2609
2612
* {@link ngMock.$httpBackend $httpBackend mock}.
@@ -2621,7 +2624,8 @@ angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {
2621
2624
*
2622
2625
* @param {string|RegExp|function(string) } url HTTP url or function that receives a url
2623
2626
* 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.
2625
2629
* @param {(Object|function(Object))= } headers HTTP headers.
2626
2630
* @param {(Array)= } keys Array of keys to assign to regex matches in request url described on
2627
2631
* {@link ngMock.$httpBackend $httpBackend mock}.
0 commit comments