Skip to content

Commit

Permalink
Merge pull request #30 from mkly/fix_failed_tests_bind
Browse files Browse the repository at this point in the history
Fix tests for phantomjs 1.x
  • Loading branch information
ninjatronic committed Dec 7, 2016
2 parents 32fb972 + 0d5d992 commit dba4346
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion jasmine.conf.js
Expand Up @@ -5,10 +5,11 @@ module.exports = function(config) {
frameworks: ['jasmine'],
plugins: ['karma-jasmine', 'karma-phantomjs-launcher'],
files: [
'node_modules/phantomjs-polyfill/bind-polyfill.js',
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
'ngGeolocation.min.js',
'ngGeolocation.test.js'
]
});
};
};
11 changes: 6 additions & 5 deletions package.json
Expand Up @@ -4,17 +4,18 @@
"bower": "~1.3.2",
"grunt": "~0.4.4",
"grunt-cli": "~0.1.13",
"phantomjs": "~1.9.7-3",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-contrib-concat": "~0.4.0",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-uglify": "~0.4.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-karma": "~0.8.2",
"grunt-notify": "~0.2.20",
"grunt-strip": "~0.2.1",
"grunt-karma": "~0.8.2",
"karma": "~0.12.9",
"karma-jasmine": "~0.1.5",
"karma-phantomjs-launcher": "~0.1.4"
"karma-phantomjs-launcher": "~0.1.4",
"phantomjs": "~1.9.7-3",
"phantomjs-polyfill": "0.0.2"
},
"scripts": {
"postinstall": "./node_modules/.bin/bower install --dev",
Expand Down

0 comments on commit dba4346

Please sign in to comment.