Skip to content

Commit

Permalink
Merge pull request #1037 from pbassut/master
Browse files Browse the repository at this point in the history
fix(karma) - phantomjs component was missing, thus failing tests
  • Loading branch information
pbassut committed Mar 27, 2016
2 parents 742e811 + c2edba3 commit 5dcd231
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions karma-jqlite.conf.js
Expand Up @@ -12,6 +12,7 @@ module.exports = function (config) {
],

files: [
'node_modules/phantomjs-polyfill/bind-polyfill.js',
'bower_components/rangy/rangy-core.js',
'bower_components/rangy/rangy-selectionsaverestore.js',
'bower_components/angular/angular.min.js',
Expand Down
1 change: 1 addition & 0 deletions karma-jquery.conf.js
Expand Up @@ -12,6 +12,7 @@ module.exports = function (config) {
],

files: [
'node_modules/phantomjs-polyfill/bind-polyfill.js',
'bower_components/jquery/jquery.min.js',
'bower_components/rangy/rangy-core.js',
'bower_components/rangy/rangy-selectionsaverestore.js',
Expand Down
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -18,7 +18,7 @@
],
"license": "MIT",
"homepage": "http://textangular.com",
"main": "./dist/textAngular.min.js",
"main": "./dist/textAngular.min.js",
"dependencies": {
"rangy": "^1.3.0"
},
Expand Down Expand Up @@ -51,7 +51,8 @@
"karma-jasmine": "~0.1.5",
"karma-phantomjs-launcher": "~0.1.2",
"karma-script-launcher": "~0.1.0",
"phantomjs": "^1.9.8"
"phantomjs": "^1.9.8",
"phantomjs-polyfill": "0.0.2"
},
"scripts": {
"test": "bower install && grunt travis-test --verbose"
Expand Down

0 comments on commit 5dcd231

Please sign in to comment.