File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ module.exports = function(grunt) {
50
50
options : {
51
51
specs : 'tests/*.test.js' ,
52
52
vendor : [
53
- 'http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.20 /angular.js'
53
+ 'http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1 /angular.js'
54
54
] ,
55
55
helpers : [
56
56
'tests/setup.js'
Original file line number Diff line number Diff line change 77
77
< span id ="plugin-result "> {{ ctrl.result }}</ span >
78
78
</ div >
79
79
80
- < script src ="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.20 /angular.min.js "> </ script >
80
+ < script src ="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1 /angular.min.js "> </ script >
81
81
< script src ="app/app.js "> </ script >
82
82
</ body >
83
83
</ html >
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"example" : " node_modules/.bin/grunt example" ,
8
8
"test" : " node_modules/.bin/grunt verify" ,
9
+ "client-test" : " node_modules/.bin/grunt client-test" ,
9
10
"webdriver-update" : " node node_modules/grunt-protractor-runner/scripts/webdriver-manager-update"
10
11
},
11
12
"author" : " Carlos Atencio" ,
Original file line number Diff line number Diff line change 306
306
307
307
context . httpMock ( expectations , plugins ) ( ) ;
308
308
309
- context . __module = angular . module ( 'httpMock' ) . run ( function ( $http ) {
310
- context . __getHttp = function ( ) {
311
- return $http ;
312
- } ;
313
- } ) ;
309
+ context . __module = angular . module ( 'httpMock' )
310
+ . config ( [ '$qProvider' , function ( $qProvider ) {
311
+ $qProvider . errorOnUnhandledRejections ( false ) ;
312
+ } ] )
313
+ . run ( function ( $http ) {
314
+ context . __getHttp = function ( ) {
315
+ return $http ;
316
+ } ;
317
+ } ) ;
314
318
} ) ( window ) ;
You can’t perform that action at this time.
0 commit comments