Skip to content

Commit 0f7fc7e

Browse files
committed
Update karma to run tests on PhantomJS 2
PhantomJS 1.x doesn't have Function.prototype.bind which latest Angular seems to be using. And upgrade to the launcher ensures that we use PhantomJS 2.x Ref: angular/angular.js#13794
1 parent 5b88b13 commit 0f7fc7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"karma-coverage": "~0.1.0",
1010
"karma-html2js-preprocessor": "~0.1.0",
1111
"karma-jasmine": "~0.1.3",
12-
"karma-phantomjs-launcher": "~0.1.0",
13-
"karma": "~0.10.2"
12+
"karma-phantomjs-launcher": "~1.0.0",
13+
"karma": "~1.0.0"
1414
},
1515
"scripts": {
1616
"test": "./node_modules/.bin/bower install && ./node_modules/.bin/karma start --single-run --browsers PhantomJS"

0 commit comments

Comments
 (0)